Re[2]: [Dev-C++] saveToDisk and readFromDisk
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Zodiaq <zo...@ac...> - 2002-08-05 08:34:02
|
Hello Ioannis and all Dev-C++ users, Monday, August 5, 2002, 6:00:45 AM, Ioannis wrote as follows: IV> No they are not ANSI C or ANSI C++ functions. They look like system IV> extensions (e.g. Win32 API). ReadFromFile and writeToFile are Microsoft® CDO Library function to use with OLE object... the best windows function to deal with files are ReadFile (Ex) and WriteFile (Ex) but you have to remeber that these function writes specified portion of data (binary) to a file, to write stream data I think it's best to use ofstream... and ifstream... IV> Ioannis IV> * Ioannis Vranos IV> * Programming pages: http://www.noicys.cjb.net IV> * Alternative URL: http://run.to/noicys -- regards, Zodiaq |