摘要:今天看了一下dot文件的描述格式,挺强大。注意此dot是graphviz软件相关的图像格式定义,而非office中的word模版。有了这个工具,或者按照dot的文法,我们可以在程序中将内部信息按照描述出来,然后利用命令行转成相应图像。一个简单示例如下://test.dot 文本内容如下:此文本是c++的中间代码过程中,产生的控制流图描述文件 1 digraph G{ 2 subgraph cluster_0{ 3 label = "main" style = "dashed"; 4 color = purple; 5 Node0 [label = &qu
阅读全文
随笔分类 - SpMT项目
毕业项目相关记录
摘要:这几天,断断续续花了不少时间安装了Win7 旗舰版,然后在Win7下安装了Visualbox,Visualbox中运行Ubuntu10.10。然后,在Ubuntu10.10中配置Prophet环境,安装eclipse-cdt,eclipse中配置svn的插件subclipse。我现在把整个过程写下来。第一步:安装虚拟机和ubuntu,让ubuntu共享win7文件夹。(1)共享文件夹 visualbox 设备->安装增强功能 重启 桌面出现一个光盘,光盘中有一些安装文件。 需要进入光盘: cd /media/ cd VBOXADDITIONS sh ./VBoxLinuxAddition
阅读全文
摘要:1 /* 2 * declare_list_class.cpp 3 * 4 * Created on: 2011-12-22 5 * Author: Administrator 6 */ 7 8 class glist_e { 9 friend class glist; 10 friend class mtflist; 11 friend class dlist; 12 13 protected: 14 15 glist_e(const glist_e &); 16 glist_e &operator=(c...
阅读全文

浙公网安备 33010602011771号