一个简单的c++程序问题
我这没问题阿 [root@localhost c++]# g++ -o h complex。cppIn file included from /usr/lib/gcc/i386-pc-linux/4。2。1/。。/。。/。。/。。/include/c++/4。
2。1/backward/iostream。h:31, from complex。cpp:1:/usr/lib/gcc/i386-pc-linux/4。2。1/。。/。。/。。/。。/include/c++/4。
2。1/backward/backward_warning。h:32:2: warning: #warning This file includes at least one deprecated or antiquated header。 Please consider using one of the 32 headers found in section of the C++ standard。
Examples include substituting the <X> header for the <X。h> header for C++ includes, or <iostream> instead of the deprecated header <iostream。
h>。 To disable this warning use - plex。cpp:11:3: warning: no newline at end of file[root@localhost c++]# 。/h5050[root@localhost c++]#。
没有错误,可以运行,是你的VC的问题吧,或者开了运行程序,没有关?我刚运行了的。
用的是什么编译环境?错误信息是什么?怎么运行不了?
答:这个问题我好象在 这个论坛上面 看到过 你自己找一找进入后有分类自己看 一定能找到你的答案的,如果解决了你的问题一定要给我加分哦! 谢谢!详情>>