It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit开发者_如何学运维 the help center.
Closed 10 years ago.
I want to write program to test another programs using gcc. And I want to compile *.cpp file using gcc and if when on compiling was error i want to know about it.
GCC gives into cerr stream something?
Yes, GCC outputs warnings and errors to standard error stream.
Did you use g++ (not gcc) to compile your C++ code? Did you link the standard C++ library?
Try passing the -v option to g++ to understand what it is doing.
精彩评论