Writting to a file
I need to write data into a plain text file. I can write a string with fputs but how would I write a number from a variable?
And a tip, maybe not for you, but others who might read this.
Alot of c stuff can be used to write/read files.
ex.
fprintf (from printf)
fgets (from gets)
fputc (from putc)
fgetc (from getc)
well, you get the picture, look in MSDN
It was a while since I used C, but I think I remember it..
- Twixly, the animated fool.
- ICQ : 29553198
Alot of c stuff can be used to write/read files.
ex.
fprintf (from printf)
fgets (from gets)
fputc (from putc)
fgetc (from getc)
well, you get the picture, look in MSDN
It was a while since I used C, but I think I remember it..
- Twixly, the animated fool.
- ICQ : 29553198
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement