会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
风在竹林
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
下一页
2009年7月29日
【转】Matlab 产生无重复随机数
摘要: http://blog.chinaunix.net/u1/45066/showart_452505.htmlMatlab自带函数randperm(n)产生1到n的整数的无重复的随机排列,利用它就可以得到无重复的随机数。 function p = randperm(n); %RANDPERM Random permutation. % RANDPERM(n) is a random permut...
阅读全文
posted @ 2009-07-29 17:41 风在竹林
阅读(1245)
评论(1)
推荐(0)
编辑
2009年7月20日
【转】用bitset进行2进制输入输出
摘要: http://ly4cn.cnblogs.com/archive/2006/06/29/438382.html更多关于bitset标准类型的介绍见:http://book.csdn.net/bookfiles/17/1001760.shtml更多关于bitset操作符的介绍见:http://www.cplusplus.com/reference/stl/bitset/operators/C/C++...
阅读全文
posted @ 2009-07-20 20:42 风在竹林
阅读(902)
评论(0)
推荐(0)
编辑
2009年7月14日
【转】vs2005下的dirent.h
摘要: http://www.analogcn.com/Article/wz3/200802/20080202211037.html dirent.h是gcc下的一个头文件,而在VS2005中是没有的。这个文件中封装了几个对目录进行操作函数: static DIR *opendir (const char *dirname);static struct dirent *readdir (DIR *dirp);static int closedir (DIR *dirp); 对于在linux->windows之间进行程序移植来讲常常会造成一些困扰,在网上仔细搜了一下,发现原来已经有位好同志写了相应
阅读全文
posted @ 2009-07-14 00:57 风在竹林
阅读(2281)
评论(0)
推荐(0)
编辑
2009年7月12日
【转】如何使用 <fstream> 类进行文件的 I/O 处理
摘要: http://www.vckbase.com/document/viewdoc/?id=1355如何使用 <fstream> 类进行文件的 I/O 处理 作者:Danny Kalev 编译:MTT 工作室 下载源代码 原文出处:How to Use <fstream> Classes for File I/O 摘要:传统的文件 I/O 库如 Unix 的 <io.h&...
阅读全文
posted @ 2009-07-12 00:34 风在竹林
阅读(455)
评论(0)
推荐(0)
编辑
【转】 一个十分有用的标准C++写的split(string) 函数
摘要: http://doserver.net/post/standard_template_library_stl_split_function_cpp.php?page=2&part=1这段时间在Linux开发防火墙还有查找ARP攻击的源的软件,需要用到这个功能,本来自己也写了一个,感觉有点Bug,就在CSDN搜索了一下,找到了这个,不错!标准C++字符串string以及MFC6.0字符串CS...
阅读全文
posted @ 2009-07-12 00:32 风在竹林
阅读(854)
评论(0)
推荐(0)
编辑
【转】string类使用示例(源代码)
摘要: http://blog.sina.com.cn/s/blog_51409e8f01009h7k.html~type=v5_one&label=rela_nextarticle1) #include <string> #include <iostream> using namespace std; void main() { string s("hehe"); c...
阅读全文
posted @ 2009-07-12 00:31 风在竹林
阅读(312)
评论(0)
推荐(0)
编辑
【转】C++ string类详解
摘要: http://blog.sina.com.cn/s/blog_51409e8f01009h7i.html~type=v5_one&label=rela_nextarticle C++中针对C语言中处理字符串的难题,在标准库中设计了string类,因此现在编程中涉及到字符串的处理,就可以直接使用string类了。 之所以抛弃char*的字符串而选用C++标准程序库中的string类,是因为...
阅读全文
posted @ 2009-07-12 00:30 风在竹林
阅读(478)
评论(0)
推荐(0)
编辑
【转】C++中的string类
摘要: http://blog.sina.com.cn/s/blog_51409e8f01009h7g.html~type=v5_one&label=rela_prevarticle前言: string 的角色 1 string 使用 1.1 充分使用string 操作符 1.2 眼花缭乱的string find 函数 1.3 string insert, replace, erase 2 str...
阅读全文
posted @ 2009-07-12 00:29 风在竹林
阅读(285)
评论(0)
推荐(0)
编辑
【转】C++ string类常用函数
摘要: http://xiaocao000.spaces.live.com/blog/cns!F826A925CF33491A!117.entrystring类的构造函数: string(const char *s); //用c字符串s初始化string(int n,char c); //用n个字符c初始化此外,string类还支持默认构造函数和复制构造函数,如string s1;string s2="h...
阅读全文
posted @ 2009-07-12 00:26 风在竹林
阅读(364)
评论(0)
推荐(0)
编辑
2009年7月11日
【转】计算机词汇简繁体对照表
摘要: http://www.leastchou.com/post/50.html 电脑,電腦 硬件,硬體 打印机,印表機 內存,記憶體 以太网,乙太網 光标,游標 光盘,光碟 光驱,光碟機 软驱,軟碟機 总线,匯流排 盘片,盤片 硅片,矽片 硅谷,矽谷 硬盘,影碟 磁盘,磁碟 磁道,磁軌 端口,埠 接口,介面 算子,運算元 算法,演算法 芯片,晶片 闪存,快閃記憶體 鼠标,滑鼠 二极管,二極體 三极管...
阅读全文
posted @ 2009-07-11 17:54 风在竹林
阅读(389)
评论(0)
推荐(0)
编辑
上一页
1
···
11
12
13
14
15
16
17
18
下一页