斗----自尊、自强、自信

蜗牛慢慢爬,只要不停下来就好~~

博客园 首页 新随笔 联系 订阅 管理

2007年12月22日 #

摘要: 原文地址:http://blog.sina.com.cn/s/blog_4a84b9bb0100061l.html 做了小的修改,适用情况是:标点符号在单词后面,最后一个单词后没有空格 #include "stdafx.h" #include #include /****************... 阅读全文
posted @ 2007-12-22 21:54 a斗 阅读(732) 评论(0) 推荐(0) 编辑

摘要: 虽然见过,但是很少用calloc,还是代码量少啊。。。 区别1:函数形式: void *calloc( size_t num,//numbers of elements size_t size //Length in bytes of each elements ); void *malloc... 阅读全文
posted @ 2007-12-22 16:41 a斗 阅读(974) 评论(0) 推荐(0) 编辑

摘要: x&(x-1)==0;反应太慢,笔试的时候想不出来。。 阅读全文
posted @ 2007-12-22 16:01 a斗 阅读(244) 评论(0) 推荐(0) 编辑

摘要: Write a program delete itself after execution. 思路:调用cmd命令来删除,用ShellExecute来执行cmd命令 #include #include #include int main(int argc, char* argv[]) { ch... 阅读全文
posted @ 2007-12-22 15:44 a斗 阅读(244) 评论(0) 推荐(0) 编辑