View Full Version : read a Text file on C++
Josué Alba
10-13-2004, 04:52 PM
Hi, is there anybody who knows how to read a text file on c++ and uses it on it?.
Any idea thx
Hey,
If you are using straight C++ take a look at this:
http://www.cplusplus.com/doc/tutorial/tut6-1.html
If you are using MFC take a look at CFile in the documentation.
Hope this helps.
Brett
10-14-2004, 09:11 AM
If you want to use the C runtime library, use _fopen, _fread, etc. You can search MSDN online for more information about these functions.
Josué Alba
10-14-2004, 10:04 PM
thx buddies, I'll take a look
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.