|
Re: stdlib.h for Dashboard Program
Assuming you're using Windows, you could use API calls as an alternate to fstream. Fstream is probably simpler, this is just in case you can't use fstream for some strange reason.
The relevant functions are CreateFile, SetFilePointerEx, WriteFile, and CloseFile. All of these are in kernel32.lib and defined in winbase.h. To access them, simply include windows.h.
|