- 博客(3)
- 收藏
- 关注
原创 压力测试工具webbench使用方法
压力测试工具webbench使用方法 用途 测试服务器的性能。 安装过程 wget http://home.tiscali.cz/~cz210552/distfiles/webbench-1.5.tar.gz tar -zxvf webbench-1.5.tar.gz cd webbench-1.5 make && make install 遇到问题: rpc/types.h: 解决:可将sys中的<types.h>复制到rpc中。 cp /usr/include/sys
2021-11-13 21:45:57
9480
原创 2020-12-05
c++作用域为类的常量 在类中声明一个枚举。 class Bakeery { private: enum {Months = 12}; double costs[Months]; ... } 使用关键字static。 class Bakeery { private: static const int Months = 12; double costs[Months]; ... } 作用域内枚举。 两个枚举中定义的枚举量可能发生冲突:
2020-12-05 13:03:26
84
转载 setlocale()函数
setlocale函数 zhengudaoer 2018-04-02 20:45:16 5920 收藏 2 分类专栏: c++ 转自:http://zyxhome.org/wp/cc-prog-lang/c-stdlib-setlocale-usage-note/ #include <locale.h> char* setlocale(int category, const char* locale); 说明: category:为locale分类,表达一种locale的领域方面,通常有下面
2020-08-14 16:43:49
267
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人