码迷,mamicode.com
首页 >  
搜索关键字:crt    ( 1749个结果
单链表
#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<assert.h>usingnamespacestd;//实现单链表:typedefintDataType;typedefstructListNode{ structListNode*_pNext; DataType_data;}ListNode;ListNode*NewNode(DataTypex){ ListNode*tem=(ListNode*)mall..
分类:其他好文   时间:2015-12-03 17:15:55    阅读次数:127
模仿实现C++库函数----String 类----用 写时拷贝   实现
#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<assert.h>#defineDEFAULTNUME3usingnamespacestd;classString{public: int&GetCount() { return*(((int*)_str)-1); } char*GetStr() { return_str; } //找到字符ch并返回它的下标 intFind(charch..
分类:编程语言   时间:2015-12-03 17:15:21    阅读次数:227
实现 日期 的运算---C++
#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<assert.h>usingnamespacestd;classDate{public: voiddisplay() { cout<<_year<<"-"<<_month<<"-"<<_day<<endl; } boolIsLeapyear(intyear) { return((year/400=..
分类:编程语言   时间:2015-12-03 17:15:13    阅读次数:247
双向循环链表-----C++
#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<assert.h>usingnamespacestd;typedefintDataType;//definedouble-circular-linked-list-nodestructListNode{ DataType_data; ListNode*_prev; ListNode*_next;};classDCListNode//double-circular-link..
分类:编程语言   时间:2015-12-03 17:14:34    阅读次数:214
secureCRT 报错
当前使用的是CRT5.1版本,报错截图如下:解决方法使用CRT7.1版本支持更多的加密程序。CRT7.1下载:http://pan.baidu.com/s/1pJnIfr1CRT7.1的注册信息:Name:xixiCompany:cr173serial:03-65-005213Date:05-22-2011Licensekey:AB4N5YMZTJ36Y96T3JB4P6FBACMFP2A5RDK4JFS9R7UG..
分类:其他好文   时间:2015-12-03 11:49:30    阅读次数:285
strstr-strcmp-str-cpy-strcat-strncat-memmove-memcpy函数的实现
(1)strstr寻找子字符串函数的实现#define_CRT_SECURE_NO_WARNINGS1#include<stdio.h>#include<string.h>#include<assert.h>typedefunsignedintuint;char*my_strncat(char*dest,constchar*src,uintcount);{/*my_strncat实现两个相同字符串的链接,因为在这..
分类:其他好文   时间:2015-12-03 02:20:58    阅读次数:174
C提高_day03_两个辅助指针变量挖字符串(强化4)
#define _CRT_SECURE_NO_WARNINGS #include #include #include //两个辅助指针变量挖字符串, 的第三种内存模型 //指针做函数参数 void FreeMem(char **myp,int count) //释放内存函数 { int i=0; i...
分类:其他好文   时间:2015-11-30 22:16:05    阅读次数:162
拓扑排序(Topological)
#define _CRT_SECURE_NO_WARNINGS#include#include#includeusing namespace std;#define MAX 20typedef struct node{ struct node * nextarc; char Info;}...
分类:编程语言   时间:2015-11-29 13:28:22    阅读次数:199
一个邻接表
#define _CRT_SECURE_NO_WARNINGS#include#include#define MAX 20typedef struct node{ struct node * nextarc; char Info;}ArcNode,*pArcNode;typedef st...
分类:其他好文   时间:2015-11-29 10:43:11    阅读次数:176
一个邻接表
#define _CRT_SECURE_NO_WARNINGS#include#include#define MAX 20typedef struct node{ struct node * nextarc; char Info;}ArcNode,*pArcNode;typedef struct{ ...
分类:其他好文   时间:2015-11-29 09:26:44    阅读次数:151
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!