全部博文(60)
发布时间:2018-01-16 17:01:15
#include <stdio.h>#include <unistd.h>#include <inttypes.h>#include <stdint.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#define page_map_file "/proc/self/pagemap"#defi.........【阅读全文】
发布时间:2017-11-23 17:08:23
#include <stdio.h>#include <stdlib.h>#include <fcntl.h>#include <sys/mman.h>#include <unistd.h>int main(int argc, char *argv[]) { if (argc < 3) {  .........【阅读全文】
发布时间:2016-06-10 12:00:29
http://blog.codinglabs.org/articles/a-malloc-tutorial.html......【阅读全文】
发布时间:2016-06-10 11:56:37
1. C++中,内部和外部变量重名时,如何引用外部变量? #include using namespace std; int Vac = 2; int main() {int Vac = 4;::Vac++;//看这里,用外部变量时,在变量前加"::" }2. x=x+1, x+=1, x++, 哪个效率高?&nbs.........【阅读全文】