摘要:
###27.01_反射(类的加载概述和加载时机)* A:类的加载概述 * 当程序要使用某个类时,如果该类还未被加载到内存中,则系统会通过加载,连接,初始化三步来实现对这个类进行初始化。 * 加载 * 就是指将.class文件读入内存,并为之创建一个Class对象。任何类被使用时系统都会建立一个Cla 阅读全文
摘要:
#include <iostream>#include <stdlib.h>using namespace std; typedef char ElemType;typedef struct LNode{ ElemType data; //数据域 struct LNode *next; //指针域} 阅读全文
摘要:
#include <iostream>#include <stdlib.h>#include <windows.h>#include <string>#define MAXLISTSIZE 100 //预设的存储空间最大容量#define TRUE 1#define FALSE 0using nam 阅读全文
摘要:
#include <windows.h>#include <iostream>#include <stdlib.h>#define MAXBUFFER 10#define MAXLISTSIZE 100 //预设的存储空间最大容量using namespace std; typedef struct 阅读全文
摘要:
#include <iostream>#include <stdlib.h>using namespace std; typedef struct LNode{ float coef; //系数 int expn; //指数 struct LNode *next; //指针域}LNode, *SLi 阅读全文
摘要:
#include <iostream>#include <stdlib.h>#include <string.h>#define INFINITY 1000 //最大值∞#define MAX_VERTEX_NUM 20 //最大顶点个数#define MAXLISTSIZE 100 //循环队列的 阅读全文
摘要:
#include <iostream>#include <windows.h>#include <stdlib.h>#include <string.h>#define MAXLISTSIZE 100 //预设的存储空间最大容量#define FALSE 0#define TRUE 1using n 阅读全文
摘要:
#include <iostream>#include <stdlib.h>#include <string>#define MAXLISTSIZE 100 //预设的存储空间最大容量 using namespace std;typedef string ElemType;typedef struc 阅读全文
摘要:
#include <iostream>#include <stdlib.h>#define MAXLISTSIZE 100 //预设的存储空间最大容量using namespace std; typedef string ElemType;typedef struct{ ElemType *base 阅读全文
摘要:
#include <iostream>#include <stdlib.h>using namespace std; typedef string ElemType;typedef struct LNode{ ElemType data; //数据域 struct LNode *next; //指针 阅读全文
摘要:
#include <iostream>#include <stdlib.h>#define MAXLISTSIZE 100 //预设的存储空间最大容量 using namespace std; typedef string ElemType;typedef struct{ ElemType *ele 阅读全文