摘要:
1 #include 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 return 0; 13 } 14 15 int record( int x) 16... 阅读全文
摘要:
1 #include 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 << "test with one arguments "<< a <<"\n"; 13... 阅读全文
摘要:
1 #include 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 int main01() 11 { 12 char ... 阅读全文
摘要:
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 cou 阅读全文
摘要:
#include <stdio.h> #include <process.h> #include <sys/types.h> int main() { pid_t pid; pid = getpid(); printf("%d\n" ,pid); getchar(); } 阅读全文