02 2012 档案
摘要:I will be kind to the weak.I will be brave against the strong.I will fight all who do wrong.I will fight for those who cannot fight.I will help those who call me for help.I will harm no woman.I will help my brother knight.I will be true to my friends.I will be faithful in love.我发誓善待弱者我发誓勇敢地对抗强暴我发誓抗击
阅读全文
摘要:Linux下stricmp在此作用域中尚未声明解决办法 在使用大小写不敏感函数比较字符串时,很顺手的来了个stricmp,g++编译的时候:错误:‘stricmp’在此作用域中尚未声明。 后来查了一下,stricmp是windows特有的。而linux是strcasecmp,包含在头文件string.h下。问题解决了
阅读全文
摘要:C++ can become very difficult to use especially with large projects where you can't see all the variables. Here's a very simple C++ logging class that can take logs for your software without any effort. This will make you a better programmer as you won't have to rely on debuggers like in
阅读全文

浙公网安备 33010602011771号