开发者

GCC and cerr stream [closed]

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜