-
just starting
How would you go about writing a code fragment that opens a text file for reading. using input.txt as the name of the file
this is a small part of a big program, and i cant figure out how to do it, well i thought i did, but it dont work, so if anyong could help, it would make my night eassier.
thanks
-
fopen()
Post your code if you need further help.
:)
-
Check out fopen, fread, and fwrite on MSDN. They should include examples.
-
Am i the only one that likes cplusplus.com Reference section?
By the way, nice MS plug blackrat364 :D
(i just asked a question on a linux chat and got a windows answer, i am now annoyed)
-
Quote:
Originally posted by mart_man00
Am i the only one that likes cplusplus.com Reference section?
By the way, nice MS plug blackrat364 :D
(i just asked a question on a linux chat and got a windows answer, i am now annoyed)
If you've ever actually used MSVC++ with the MSDN installed you'd know just how handy it is. It has nothing to do with plugging it. It's damn handy.
Quzah.
-
There is one for linux too!
its called
Check it some day ^_^
-LC
-
I would like to see a more MSDN style Linux site/kit. I wish cplusplus would add to theres or some one would make on here.
But i have my POSIX book and my Complete Command Reference so im happy for now....