摘要: // CTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include using namespace std;typedef int ElemType;struct Stack{ ElemType *stack... 阅读全文
posted @ 2015-05-23 17:16 bksqmy 阅读(411) 评论(0) 推荐(0) 编辑
摘要: // CTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include using namespace std;//class str{//private:// char s[80];//public:// ... 阅读全文
posted @ 2015-05-23 16:01 bksqmy 阅读(195) 评论(0) 推荐(0) 编辑
摘要: // CTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include using namespace std;class str{private: char s[80];public: str(char ... 阅读全文
posted @ 2015-05-23 12:34 bksqmy 阅读(225) 评论(0) 推荐(0) 编辑
摘要: // CTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include using namespace std;class Cpoint{private: double x,y;public: Cpoint(double x... 阅读全文
posted @ 2015-05-23 12:22 bksqmy 阅读(269) 评论(0) 推荐(0) 编辑
摘要: // CTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include using namespace std;class Tc{private : int a; static int b;public : Tc(int t... 阅读全文
posted @ 2015-05-23 11:56 bksqmy 阅读(288) 评论(0) 推荐(0) 编辑
摘要: // CTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include using namespace std;class Circle{ private: double x,y,r; public: void d... 阅读全文
posted @ 2015-05-23 10:49 bksqmy 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1 #include "stdafx.h" 2 #include 3 using namespace std; 4 5 int _tmain(int argc, _TCHAR* argv[]) 6 { 7 char **p; 8 char * b[] = {"Fortran",... 阅读全文
posted @ 2015-05-23 09:56 bksqmy 阅读(178) 评论(0) 推荐(0) 编辑
摘要: //结构体的测试// CTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include using namespace std;struct person{ char name[15]; char sex; int age;}m[3]={{"FangMi... 阅读全文
posted @ 2015-05-23 09:37 bksqmy 阅读(430) 评论(0) 推荐(0) 编辑