|
藍森林 http://www.lslnet.com 2006年6月6日 10:18
AIX下,GCC可以用來編譯C++嗎?為何不行?
/develop/bdss >;gcc k1.cpp
ld: 0711-317 ERROR: Undefined symbol: cout
ld: 0711-317 ERROR: Undefined symbol: .ostream::operator<<(char const *)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status |
AIX下,GCC可以用來編譯C++嗎?為何不行?
用 CC 試一下! |
AIX下,GCC可以用來編譯C++嗎?為何不行?
對c++程序
應該使用g++
在linux下使用gcc時也是會出現這樣的問題的 |
AIX下,GCC可以用來編譯C++嗎?為何不行?
c++是c的超集,
怎麼可能用c來編譯c++呢
不過c++可以編譯c |
| |