摘要: Program.cs: Program1.cs Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1using System; 2class Program1 3{ 4 static void Main(string[] args... 阅读全文
posted @ 2008-09-12 17:28 zqblog007 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Program.cs: Program.cs Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1using System; 2class Program 3{ 4 static void Main(string[] args) ... 阅读全文
posted @ 2008-09-12 17:22 zqblog007 阅读(1784) 评论(0) 推荐(0) 编辑
摘要: link.h: 对线性表的各种操作函数 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1#include"iostream.h" 2//1.初始化单链表 3void InitList(LNode *&HL) 4{ 5 ... 阅读全文
posted @ 2008-09-12 17:08 zqblog007 阅读(382) 评论(0) 推荐(0) 编辑
摘要: list.h: 对线性表的各种操作函数 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1void InsertRear(List& L,const ElemType& item) 2{ 3 if(L.size==MaxSize)... 阅读全文
posted @ 2008-09-12 17:02 zqblog007 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 使用 const变量 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1//p1-12.cpp:使用const变量 2#include"iostream.h" 3const double PI=3.1416;//声明常量(const变量... 阅读全文
posted @ 2008-09-12 16:53 zqblog007 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 测试 布尔类型数据 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->//p1-11.cpp:测试布尔类型数据 #include void main() { //声明bool变量,并初始化 bool flag1 = False;... 阅读全文
posted @ 2008-09-12 16:51 zqblog007 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 测试 转义字符 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1//p1-10:测试转义字符 2#include 3void main() 4{ 5 char c1='\a',TAB='\t'; 6 7 //阵铃... 阅读全文
posted @ 2008-09-12 16:48 zqblog007 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 测试 字符型数据 运算和输入输出 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1//p1-9.cpp:测试字符型数据运算和输入输出 2#include"iostream.h"//包含iostream.h头文件 3void mai... 阅读全文
posted @ 2008-09-12 16:44 zqblog007 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 测试 八进制、十进制和十六进制数 运算和输入输出 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1//p1-7.cpp:测试八进制、十进制和十六进制数运算和输入输出 2#include"iostream.h" 3void main... 阅读全文
posted @ 2008-09-12 16:40 zqblog007 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 测试整型数据 输入输出 算术运算 和 变量溢出 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1//p1-6.cpp:测试整型数据输入输出\算术运算和变量溢出 2#include//包含iostream.h头文件 3void ma... 阅读全文
posted @ 2008-09-12 16:36 zqblog007 阅读(196) 评论(0) 推荐(0) 编辑