在线笔记
全部博文(596)
发布时间:2013-08-09 12:31:54
http://stackoverflow.com/questions/12392278/measure-time-in-linux-getrusage-vs-clock-gettime-vs-clock-vs-gettimeofdayThe problem is that there are several different time functions available in C and C++, and some of them vary in behavior between implementations. There are also a lot of half-answe.........【阅读全文】
发布时间:2013-08-06 21:21:18
结构体typedef struct _room{ int id; char name[32]; int *p; int phone;}room;room g_room = { 1, "room", NULL, 123};.........【阅读全文】
发布时间:2013-08-01 10:15:35
提交的文件或目录是其他SVN的东西,即下面有.svn的目录,删除才能提交#find . -mindepth 2 -name '.svn' -exec rm -rf '{}' \;......【阅读全文】
发布时间:2013-08-01 09:26:17
CPPFLAGS is supposed to be for flags for the C PreProcessor; CXXFLAGS is for flags for the C++ compiler.The default rules in make (on my machine, at any rate) pass CPPFLAGS to just about everything,CFLAGS is only passed when compiling and linking C, and&.........【阅读全文】