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 阅读全文
posted @ 2016-02-14 20:38 微风星宇 阅读(197) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-02-12 22:06 微风星宇 阅读(173) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2016-02-12 17:53 微风星宇 阅读(179) 评论(0) 推荐(0)
摘要: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; 阅读全文
posted @ 2016-02-04 20:42 微风星宇 阅读(132) 评论(0) 推荐(0)