makefile連接時出現undefined reference to `std::...

Solutions:html (1)change gcc to g++;ios (2)add "-lstdc++" after "gcc". [這一條沒有試驗成功]c++ #來源:http://blog.sina.com.cn/s/blog_698f90230100xwwc.htmlhtm 後綴爲.c的文件用gcc編譯會出現iostream: No such file or directory.
相關文章
相關標籤/搜索