calling fgets()

bearophile bearophileHUGS at lycos.com
Sun Dec 23 06:51:19 PST 2012


Red:

> My problem is with the first argument. I am not sure what to 
> declare and how to pass it. I tried doing it as you would in C, 
> but it doesn't compile.

Take a look at the toStringz function. But often using D 
functions is better than using C functions.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list