04 2014 档案
摘要:http://blog.csdn.net/iicy266/article/details/11906189这篇文章很好,提醒我们熟悉函数原型的重要性
阅读全文
摘要:http://www.cnblogs.com/hazir/p/new_and_delete.htmlint *p=new(10);创建空间,指向10,int* p=new[10];创建数组空间
阅读全文
摘要:char* 转 float:double atof (const char* str);/* atof example: sine calculator */#include /* printf, fgets */#include /* atof */#include ...
阅读全文
摘要:一、用strtok函数进行字符串分割原型:char *strtok(char *str, const char *delim);功能:通过一系列调用来分解字符串为一组字符串。参数说明:str为要分解的字符串,delim为分隔符字符串。返回值:从str开头开始的一个个被分割的串。当没有被分割的串时则返...
阅读全文
摘要:istringstream: istringstream 对象可以绑定一行字符串,然后以空格为分隔符把该行分隔开来。创建对象:istringstream strsm("aa bb c");//strsm>>astr;//string astrstrsm>>bstr;//string bstrcout...
阅读全文
摘要:http://blog.csdn.net/uestc_huan/article/details/39659233次握手,4次分手2MSL等待状态:每个具体TCP实现必须选择一个报文段最大生存时间MSL(maximum segment lifetime),它是任何报文段被丢弃前在网络内的最长时间。这个...
阅读全文
摘要:http://www.cnblogs.com/waytofall/archive/2012/06/04/2534386.html散列表:是根据关键字(Key value)而直接访问在内存存储位置的数据结构。也就是说,它通过把键值通过一个函数的计算,映射到表中一个位置来访问记录,这加快了查找速度。这个...
阅读全文

浙公网安备 33010602011771号