[TOC]
在这里要感谢Strawberry、Psycho、Felinae在我学习过程中给予我的帮助,解答了我很多疑问,学到了一些小技巧,使我在刚开始接触C和C++时少走了很多弯路。也感谢Miamiao送给我的黑书《数据结构(C语言版)》。
位于根目录下的Notes文件夹。
-
数组作为函数参数
-
一维数组
void test(int * a) test(a);
-
二维数组
void test(int *a) test(*a)
而且在test函数内部还需要以一位数组的形式调用a,如a[i*x+j]
-
-
二元队列
queue<pair<int, int>> tmp; tmp.push(make_pair(1,2)); int a = tmp.front().first;
-
乐学22题的输入问题
-
Delete_vowel的超时问题
-
struct node{ char data; child * head; }tree; struct child{ node * find; child * next; };
-
定义结构的默认值
-
函数传参,传指针,传地址
-