补充一下:
因为我编译的代码比较老,因此还有iostream.h的定义。而在目前的编译器里面有一个RW_NO_IOSTD,它的定义是:
*** RW_NO_IOSTD: Defined if you have the "original flavor" iostreams
package, as opposed to the emerging draft ANSI C++ standard.
也就是说如果我定义了这个宏的话,现在的C++标准库就不会和以前的冲突,那我应该在哪里定义呢?
In addition, the ostrstream class is deprecate. You must replace it with
std:stringstream. This one is declared in the <sstream> header file.
Please, check if your compiler is compliant with the last standardization
of C++. If not so, try to use a more updated compiler. For instance, you
can download the gcc GNU compiler from www.gnu.org. It's free and fully adheres
to the last C++ standardization (199. When I use gcc under Unix, my programs
that use the Standard C++ Library needs to be linked with the -lstdc++.