摘要: // http://blog.csdn.net/fansongy/article/details/6798278/ #include #include using namespace std; ... 阅读全文
posted @ 2017-03-04 16:19 sowhat1412 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Spring IOC/DI AOP 理解前言 作为从事java开发的码农,Spring的重要性不言而喻,你可能每天都在和Spring框架打交道。Spring恰如其名的,给java应用程序的开发带了春天般的舒爽感... 阅读全文
posted @ 2017-03-03 15:27 sowhat1412 阅读(117) 评论(0) 推荐(0) 编辑
摘要: void strcpy(char* dest, const char* src){int i=0;while(src[i]!='\0'){dest[i] = src [i];i++;}dest[i] = '\0'... 阅读全文
posted @ 2017-03-03 14:15 sowhat1412 阅读(127) 评论(0) 推荐(0) 编辑
摘要: int = atoi(char*) char*=string.c_str(); http://www.cppblog.com/Sandywin/archive/2007/07/13/27984.html使... 阅读全文
posted @ 2017-03-03 10:00 sowhat1412 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 本文需要解决C++中关于数组的2个问题:1. 数组作为函数参数,传值还是传址?2. 函数参数中的数组元素个数能否确定?先看下面的代码。[cpp] view plain copy#include using... 阅读全文
posted @ 2017-03-03 09:18 sowhat1412 阅读(403) 评论(0) 推荐(0) 编辑
摘要: #include #include typedef struct BTnode{ int data; struct BTnode *pLchild; struct BTnode *pRchild... 阅读全文
posted @ 2017-03-02 15:06 sowhat1412 阅读(64) 评论(0) 推荐(0) 编辑
摘要: // 双向线性链表#include using namespace std;typedef struct node{ int data; struct node * front; struct ... 阅读全文
posted @ 2017-03-02 14:43 sowhat1412 阅读(54) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;bool cir=0;#if 1 // 0 为队列一样的链表typedef struct cirlist{ int data; struct... 阅读全文
posted @ 2017-03-02 11:37 sowhat1412 阅读(188) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;typedef struct node{ int data; struct node *next;}NODE;NODE* c... 阅读全文
posted @ 2017-03-02 11:33 sowhat1412 阅读(85) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;typedef struct listarr{ int * arr; int cap; int size;}LIST_ARR;LIST_... 阅读全文
posted @ 2017-03-02 10:51 sowhat1412 阅读(85) 评论(0) 推荐(0) 编辑