- 博客(5)
- 收藏
- 关注
转载 基础递归
1 #include <iostream> 2 3 using namespace std; 4 5 int count = 1; 6 7 int record( int x); 8 9 extern int main01() 10 { 11 cout << record(5);; 12 retu...
2016-06-16 15:32:00
99
转载 C++函数指针 各个方式表现 和 使用方法
1 #include <iostream> 2 3 using namespace std; 4 5 6 void test() 7 { 8 cout << "test with no arguments\n"; 9 } 10 void test2(int a) 11 { 12 cout <&...
2016-06-12 16:00:00
130
转载 递归_分而治之【二段细分数据(同时进行!)】
1 #include <iostream> 2 3 using namespace std; 4 5 const int Len = 66; 6 const int Divs = 6; 7 8 void Subdivide(char ar[], int low, int high, int level); 9 10 extern...
2016-06-03 17:11:00
201
转载 递归追溯退出
1 #include <iostream> 2 3 using namespace std; 4 5 void countdown(int n); 6 7 extern int main01() 8 { 9 countdown(4); 10 return 0; 11 } 12 13 void count...
2016-06-03 14:47:00
148
转载 C++学习记录
#include <stdio.h> #include <process.h> #include <sys/types.h> int main() { pid_t pid; pid = getpid(); printf("%d\n" ,pid); getchar(); } 获取程序进程...
2016-04-25 10:48:00
83
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅