![](smile.gif)
VC++ and File Loading
Hi all,
Many people new to VC++ reach a point were they
must ask this question:
What is the easiest method of implementing File Handling?
Open a file, read a stream of cha/bytes, save, create,
delete, truncate, etc...
In my case, i would like to open, read a stream of bytes
to a buffer, and save that buffer to a 2nd file.
Seems possible, I bet it is
!
Thanks all,
Hugo Ferreira
lotsjunk@hotmail.com
http://unitek3000.tripod.com
![](smile.gif)
You have your choice of Win32 functions, MFC Data/View architecture, C++ streams, and/or C file operations. I use C++ streams myself. A good reference book on C++ should cover how do do file input/output.
Look up fopen, fclose, fputc and fgetc in the MSDN. You should be able to figure it out from there. It''s very straightforward.
Todd M. Gillissie
Todd M. Gillissie
Todd M. GillissieGilligames
Thanks,
that last reply was much more helpfull.
Thanks.
Hugo Ferreira
lotsjunk@hotmail.com
http://unitek3000.tripod.com
that last reply was much more helpfull.
Thanks.
Hugo Ferreira
lotsjunk@hotmail.com
http://unitek3000.tripod.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement