摘要:
原文地址:http://blog.sina.com.cn/s/blog_4a84b9bb0100061l.html 做了小的修改,适用情况是:标点符号在单词后面,最后一个单词后没有空格 #include "stdafx.h" #include #include /****************... 阅读全文
2007年12月22日 #
摘要:
虽然见过,但是很少用calloc,还是代码量少啊。。。 区别1:函数形式: void *calloc( size_t num,//numbers of elements size_t size //Length in bytes of each elements ); void *malloc... 阅读全文
摘要:
x&(x-1)==0;反应太慢,笔试的时候想不出来。。 阅读全文
摘要:
Write a program delete itself after execution. 思路:调用cmd命令来删除,用ShellExecute来执行cmd命令 #include #include #include int main(int argc, char* argv[]) { ch... 阅读全文