摘要: 多行注释:Ctrl+k-->ctrl+c取消多行注释:Ctrl+K-->Ctrl+U复制整行:当光标在某一行随便哪个位置时(注意不要选中字符)+Ctrl+C删除整行:和上面的一样,按下Ctrl+Delete,将会删除光标所在的行。查找:选中某个单词,按下Ctrl+F3查找下一个:F3打开查找窗口:Ctrl+F打开查找替换窗口:Ctrl+H查看代码:F7查看编辑环境:Shift+F7查看属性:F4关闭当前页面:Ctrl+F4不调试运行:Ctrl+F5调试运行:F5转到定义:F12设置(取消)断点:F9取消所有断点:Ctrl+Shift+F9快速监视:Shift+F9格式换代码显示:C 阅读全文
posted @ 2012-02-22 23:27 uniquews 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 template <class TElemType> 6 class Graph 7 { 8 public: 9 10 void CreateOlgraph(); 11 void DFSOlgraph(int v,bool *visited,int *finished); //表示顺向深度优先搜索 12 void DFSOlgraph(int v,bool *visited); 13 void Conponderance();... 阅读全文
posted @ 2012-02-22 16:11 uniquews 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 1 //DFSTraverse.cpp 2 //This function is to traver ALGraph by DFS Algorithm 3 # include <iostream> 4 # include <malloc.h> 5 # include <conio.h> 6 7 # define MAX_VERTEX_NUM 20 8 # define OK 1 9 10 using namespace std; 11 12 typedef int VertexType; 13 typedef int InfoType; 14 15 type 阅读全文
posted @ 2012-02-22 14:52 uniquews 阅读(1372) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/kay_sprint/article/details/6661531 阅读全文
posted @ 2012-02-22 09:20 uniquews 阅读(283) 评论(0) 推荐(0) 编辑