Why doesn't this piece of code work?

SvGaming sven.kovac1 at outlook.com
Tue May 17 11:31:12 UTC 2022


On Monday, 16 May 2022 at 22:25:23 UTC, kdevel wrote:
> On Monday, 16 May 2022 at 16:53:15 UTC, SvGaming wrote:
> [...]
>> [...]
>
> In main your program reads an integer:
>
> ```
>    int n;
>    writef("Pick an option: ");
>    readf(" %s", &n);
> ```
>
> [...]

Just tried the solution and it works perfectly!
Thanks, Again!


More information about the Digitalmars-d-learn mailing list