Why doesn't this piece of code work?

SvGaming sven.kovac1 at outlook.com
Tue May 17 05:12:58 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);
> ```
>
> [...]
Thanks for the help!


More information about the Digitalmars-d-learn mailing list