摘要:
To free pagecache: echo 1 > /proc/sys/vm/drop_caches;to free dentries and inodes: echo 2 > /proc/sys/vm/drop_caches;to free pagecache, dentries and in... 阅读全文
摘要:
在类的非静态成员函数中访问类的非静态成员的时候,编译器会自动将对象本身的地址作为一个隐含参数传递给函数,即"this"指针。class CTest{public:int m_test();};CTest test;test.m_test() //会被编译成 test.m_test(CTest *th... 阅读全文
摘要:
long long unsigned int num = 20140701092715;在C语言中编译器会把没有小数的数值常量默认为整形,这条语句编译器会报警告: [root@localhost ~]# gcc -o test 1.c 1.c: In function ‘main’: 1.c... 阅读全文