C++
StreamH
none
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++ String 操作集合
stirng 字符串拼接: std::stringstream streamTmp; streamTmp << "test test test test ...."; //allMutedUserNodeId 为 std::vector std::vector::iterator iter = allMutedUserNodeId.begin(); while(iter != allMute原创 2016-12-23 15:15:10 · 1441 阅读 · 0 评论 -
【c++】typedef的用法
常看到代码: typedef int (*InitializeProc)(void* component); typedef用来声明一个别名,typedef后面的语法,是一个声明; 上述语句就是申明一个返回值为int,入参为void*的函数,且该函数别名为InitializeProc; 如此申明之后,产生一个函数指针的别名,用法为: InitializeProc initi...原创 2018-08-14 15:12:17 · 402 阅读 · 0 评论
分享