![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
函数
shiqi_baby
这个作者很懒,什么都没留下…
展开
-
c++中的转码函数
iconv_open函数 iconv_open——申请一个字符集转换的描述符 #include iconv_t iconv_open(const char* tocode,const char* fromcode) 描述: iconv_open()函数申请一个转换描述符,转换字符序列从编码fromcode到编码tocode 转换描述符包含转换状态,调用icon转载 2016-04-20 09:43:10 · 2644 阅读 · 0 评论 -
address of local variable 'pbuf' returned
char *CreatA4(char *buf,unsigned long tgtID,unsigned long srcID) { char pbuf[]=""; ........ return pbuf; } 这样程序会提示address of local variable 'pbuf' returned, 因为这个函数调用后,会释放,这块地址也会指向其他内容原创 2016-04-21 15:21:39 · 919 阅读 · 0 评论 -
libevent 写了一个简单地web服务器
void DateDeal { } void httpd_handler(struct evhttp_request *req, void *arg) { const char *uri; uri = evhttp_request_uri(req); char *post_data = (char *) EVBUFF转载 2016-04-21 15:35:04 · 732 阅读 · 0 评论