摘要: gcc 直接编译cpp文件会报错:undefined reference to '__gxx_personality_v0' ,这时使用g++编译即可,也可使用gcc编译,但是需加编译选项-lstdc++ 例: gcc -lstdc++ -o test test.cpp对于具有像如下代码的c和cpp... 阅读全文
posted @ 2012-11-05 11:06 qinwanlin 阅读(1826) 评论(0) 推荐(0) 编辑
摘要: Linux TCP server系列(1)-简单TCP服务器+多进程处理客户请求Linux TCP server系列(2)-简单优化服务器和客户端程序Linux TCP server系列(3)-fork注意事项Linux TCP server系列(4)-浅谈listen与大并发TCP连接Linux ... 阅读全文
posted @ 2012-11-05 10:39 qinwanlin 阅读(1947) 评论(0) 推荐(0) 编辑