最新消息:20210917 已从crifan.com换到crifan.org

标签:C#

【整理】Linux下用C++去收发http包
Web

【整理】Linux下用C++去收发http包

crifan 11年前 (2013-05-29) 2595浏览 0评论

【背景】 有个需求,在linux下,用C++,实现http的发送和请求。 【解决过程】 1.找了下,貌似对应的有专门的库叫做libcurl: libcurl – the multiprotocol file transfer librar...

【已解决】C#中的字符串数组
C#

【已解决】C#中的字符串数组

crifan 11年前 (2013-05-28) 1835浏览 0评论

【问题】 C#中,需要用到字符串数组, 并且需要传递到一个函数中,是out类型的,需要返回值的。 【解决过程】 1.后来经过尝试,这样写: string[] bullets; string description = ""; ex...

75 queries in 0.157 seconds, using 23.21MB memory