摘要: #define LOCAL#include#include#includeusing namespace std;typedef int ElemType;const int maxSize=10;//传入函数的一维数组经过函数之后数组元素发生变化 int REV(int *a,int x,int ... 阅读全文
posted @ 2014-10-08 16:07 剑风云 阅读(285) 评论(0) 推荐(0) 编辑
摘要: #define LOCAL#include#include#includeusing namespace std;typedef int ElemType;typedef struct Node{ ElemType data; struct Node *next;}Node,*LinkL... 阅读全文
posted @ 2014-10-08 15:45 剑风云 阅读(350) 评论(0) 推荐(0) 编辑
摘要: #define LOCAL#include#includeusing namespace std;typedef int ElemType;void fun1(ElemType *x){ cout>a; cout<<(*&a)<<endl; fun1(&a); b=&a; ... 阅读全文
posted @ 2014-10-08 13:46 剑风云 阅读(152) 评论(0) 推荐(0) 编辑