|
From: <cg...@wo...> - 2003-02-15 21:05:01
|
Instead ios_base, simply ios
Robson Bernard wrote:
>Hello all,
>
>I'm new in this list and so in c++ programming. I use Dev-C++ with MingW32
>in a Windows 98, 220 RAM, K6-2 550MHz.
>
>Well, i'm working with <fstream> routines and want to create a file to save
>binary data but it's not working. An error occurs when trying to compile the
>following line:
>
> ofstream fout("datafile.dat", ios_base::binary);
>
>The error says that 'ios_base::binary' does not exists in that class. What's
>wrong? Should i use namespace std????
>
>
>Thanks
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
>
>
|