c++
文章平均质量分 76
sakuraflydance
这个作者很懒,什么都没留下…
展开
-
c++ 调用 perl 脚本
#include "EXTERN.h" //引用外部的头文件#include "perl.h" //perl头文件 int _tmain(int argc, _TCHAR* argv[]){ STRLEN n_a; char *embedding[] = {"","test.pl",""}; //perl脚本和参数,第一个为空 //第二个为脚本文件,第三个为脚本的输入参数原创 2011-09-14 16:20:59 · 2381 阅读 · 1 评论 -
bash: make: command not found
yum -y install gcc automake autoconf libtool make原创 2012-12-10 14:46:19 · 273 阅读 · 0 评论 -
select io 多路复用
select主要用于检测多个fd状态,检测数量受到gc编译的宏FD_SETSIZE限制,默认为1024。简单单线程同时处理多连接的服务器模型void testSelectSocket(){ int nListenFd; int nLen; struct sockaddr_in ServerAddress,ClientAddress; int resul原创 2014-02-11 18:05:53 · 504 阅读 · 0 评论