摘要: ###27.01_反射(类的加载概述和加载时机)* A:类的加载概述 * 当程序要使用某个类时,如果该类还未被加载到内存中,则系统会通过加载,连接,初始化三步来实现对这个类进行初始化。 * 加载 * 就是指将.class文件读入内存,并为之创建一个Class对象。任何类被使用时系统都会建立一个Cla 阅读全文
posted @ 2017-11-04 18:53 我为恬恬上青铜 阅读(144) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>using namespace std; typedef char ElemType;typedef struct LNode{ ElemType data; //数据域 struct LNode *next; //指针域} 阅读全文
posted @ 2017-11-04 14:02 我为恬恬上青铜 阅读(451) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>#include <windows.h>#include <string>#define MAXLISTSIZE 100 //预设的存储空间最大容量#define TRUE 1#define FALSE 0using nam 阅读全文
posted @ 2017-11-04 14:00 我为恬恬上青铜 阅读(2701) 评论(0) 推荐(0) 编辑
摘要: #include <windows.h>#include <iostream>#include <stdlib.h>#define MAXBUFFER 10#define MAXLISTSIZE 100 //预设的存储空间最大容量using namespace std; typedef struct 阅读全文
posted @ 2017-11-04 13:59 我为恬恬上青铜 阅读(2637) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>using namespace std; typedef struct LNode{ float coef; //系数 int expn; //指数 struct LNode *next; //指针域}LNode, *SLi 阅读全文
posted @ 2017-11-04 13:58 我为恬恬上青铜 阅读(1945) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>#include <string.h>#define INFINITY 1000 //最大值∞#define MAX_VERTEX_NUM 20 //最大顶点个数#define MAXLISTSIZE 100 //循环队列的 阅读全文
posted @ 2017-11-04 13:57 我为恬恬上青铜 阅读(785) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <windows.h>#include <stdlib.h>#include <string.h>#define MAXLISTSIZE 100 //预设的存储空间最大容量#define FALSE 0#define TRUE 1using n 阅读全文
posted @ 2017-11-04 13:56 我为恬恬上青铜 阅读(345) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>#include <string>#define MAXLISTSIZE 100 //预设的存储空间最大容量 using namespace std;typedef string ElemType;typedef struc 阅读全文
posted @ 2017-11-04 13:54 我为恬恬上青铜 阅读(401) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>#define MAXLISTSIZE 100 //预设的存储空间最大容量using namespace std; typedef string ElemType;typedef struct{ ElemType *base 阅读全文
posted @ 2017-11-04 13:51 我为恬恬上青铜 阅读(282) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>using namespace std; typedef string ElemType;typedef struct LNode{ ElemType data; //数据域 struct LNode *next; //指针 阅读全文
posted @ 2017-11-04 13:49 我为恬恬上青铜 阅读(550) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>#define MAXLISTSIZE 100 //预设的存储空间最大容量 using namespace std; typedef string ElemType;typedef struct{ ElemType *ele 阅读全文
posted @ 2017-11-04 13:47 我为恬恬上青铜 阅读(585) 评论(0) 推荐(0) 编辑