c++.command-line - compiling without iostream
- Brad Cantrell (9/9) Jul 05 2011 the readme file in the stlports folder says to compile with STLport's
-
Walter Bright
(3/13)
Aug 25 2011
Try
and stdout, which is the C I/O library.
the readme file in the stlports folder says to compile with STLport's <iostream> that you add the arguments: dmc hello -I\dm\stlport\stlport and that works fine. But to use STLport without <iostream> it says to compile with: dmc hello -D_STLP_NO_NEW_IOSTREAMS that does not work. I comment out #include <iostream> but I get an error it does not recognize cout. If Im not using <iostream> what kind of headers would I be including to do I/O?
Jul 05 2011
On 7/5/2011 6:51 AM, Brad Cantrell wrote:the readme file in the stlports folder says to compile with STLport's <iostream> that you add the arguments: dmc hello -I\dm\stlport\stlport and that works fine. But to use STLport without<iostream> it says to compile with: dmc hello -D_STLP_NO_NEW_IOSTREAMS that does not work. I comment out #include<iostream> but I get an error it does not recognize cout.That's because cout is part of iostream.If Im not using<iostream> what kind of headers would I be including to do I/O?Try <stdio.h> and stdout, which is the C I/O library.
Aug 25 2011