02 2016 档案
摘要://新建如图文件 //在头文件.h中声明,在.cpp中实现 //main.cpp代码如下 1 #define _CRT_SECURE_NO_WARNINGS 2 #include<iostream> 3 #include "test.h" 4 #include <string.h> 5 using
阅读全文
摘要:1 #include<iostream> 2 using namespace std; 3 4 void show(int a) 5 { 6 cout << a <<"...."; 7 } 8 9 int add(int a, int b) 10 { 11 return a + b; 12 } 13
阅读全文
摘要:1 #include<iostream> 2 #include <vector> 3 using namespace std; 4 5 int main() 6 { 7 8 int ia[3][4] = {1,2,3,4,5,6,7,8,9,10,11,12}; 9 int(*p)[4] = ia;
阅读全文

浙公网安备 33010602011771号