摘要: View Code 1 //CreateDG.cpp 2 //This function is to create OLGraph 3 # include <iostream.h> 4 # include <malloc.h> 5 # include <conio.h> 6 7 # define MAX_VERTEX_NUM 20 8 # define OK 1 9 typedef int VertexType;10 typedef int InfoType;11 12 typedef struct ArcBox //结构名 //define structu 阅读全文
posted @ 2012-02-21 23:58 uniquews 阅读(243) 评论(0) 推荐(0) 编辑
摘要: http://www.iteye.com/topic/143629 阅读全文
posted @ 2012-02-21 21:21 uniquews 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 1 struct Student 2 { 3 int a; 4 } stu;//stu变量 5 typedef struct Student2 6 { 7 int a; 8 }stu2;//stu2类型 9 例 10 #include "iostream " 11 using namespace std; 12 struct fan 13 { 14 int a; 15 }ff; 16 typedef struct qing 17 { 18 int a; 19 }qq; 20 void main() 21 { 22 f... 阅读全文
posted @ 2012-02-21 20:31 uniquews 阅读(131) 评论(0) 推荐(0) 编辑