- 博客(6)
- 资源 (40)
- 问答 (2)
- 收藏
- 关注
原创 从内存中正/反向查找特定字符串,字符串替换的2种方法
#include #include #include #include #include // return: NULL Not Foundchar* s_strstr(const char* _pBegin, int _MaxLen,const char* _szKey){ if (NULL == _pBegin || NULL == _szKey || _MaxLen
2015-09-29 14:21:09 2391
原创 字符串转整形
#include #include #include #include #include // return: 0 errorint Str2Int(const char* _pInput){ if (NULL == _pInput || strlen(_pInput) > 11 || _pInput[0] == '0') // max length 11 (include
2015-09-28 15:05:36 590
原创 单例模式,完全版
#include #include #include #include class CSingleton{public: static CSingleton* CreateInstance(); // 获取实例 virtual ~CSingleton(); // 对应手动delete后能重新创建实例 void print();protected:
2015-09-23 17:32:15 402
原创 字符串笔试题
一、题目描述(60分):通过键盘输入一串小写字母(a~z)组成的字符串。请编写一个字符串过滤程序,若字符串中出现多个相同的字符,将非首次出现的字符过滤掉。比如字符串“abacacde”过滤结果为“abcde”。要求实现函数:void stringFilter(const char *pInputStr, long lInputLen, char *pOutputStr);【
2015-09-23 15:27:43 417
转载 printf 使用
(1)输出格式控制综述: printf的格式控制的完整格式:% - 0 m.n l或h ①%:格式说明的起始符号,不可缺少。 ②-: 有-表示左对齐输出,如省略表示右对齐输出。 ③0:有0表示指定空位填0,如省略表示指定空位不填。 ④m.n:m指域宽,即对应的输出项在输出设备上所占的字符数。n指精度,用于说明输出的实型数的小数位数。未指定n
2015-09-11 14:35:19 479
转载 RTMP协议学习
RTMP协议是一个互联网TCP/IP五层体系结构中应用层的协议。RTMP协议中基本的数据单元称为消息(Message)。当RTMP协议在互联网中传输数据的时候,消息会被拆分成更小的单元,称为消息块(Chunk)。1 消息消息是RTMP协议中基本的数据单元。不同种类的消息包含不同的Message Type ID,代表不同的功能。RTMP协议中一共规定了十多种消息类型,分别发挥着不
2015-09-09 17:10:36 577
window下NFS服务器
2014-11-13
SecureCRT.7.3.keygen.rar
2017-10-24
sourceinsight4.0_pojie_perfect.zip
2017-10-24
tinyxml_2_6_2.zip
2015-02-12
如何实现嵌入式网卡限制带宽/限速方法
2018-02-10
两个线程都通过一个socket进行send是否需要互斥锁?
2015-03-03
TA创建的收藏夹 TA关注的收藏夹
TA关注的人