###
DOI:
计算机系统应用英文版:2012,21(7):236-239,253
本文二维码信息
码上扫一扫!
C++指针机制与源文件关联关系的可视化研究
(浙江工业大学 计算机科学与技术学院,杭州 310023)
Pointer Mechanism and Source Files Association’s Visualization in C++
(1.College of Computer Science &2.Technology, Zhejiang University of Technology, Hangzhou 310023, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1756次   下载 3209
Received:November 13, 2011    Revised:December 02, 2011
中文摘要: 研究了C++中的指针机制、以及指针类型对象(变量)在多个源程序代码文件中关联关系。基于信息提取和结果整理,计算机可视化实现和表示C++中的指针机制和多源程序代码文件的关联关系。研究了抽取结果的存储机制和基于该机制的自动排序源文件引用关系的方法,最后提出了一种手工调整图元布局的算法,作为自动排序算法的补充。对实际代码分析的结果表明该方法利于程序分析并支持对源代码的辅助理解。
中文关键词: 组件  图元  层次化  引用关系  可视化
Abstract:Source code as object for research in this paper, mechanism of pointer and relation of association about pointer type object (variable) within multiple source files is studied. Based on the extraction of message and packing up the results, automatically visualize the elation about source files and mechanism of pointer in C plusplus. The storage mechanism on extraction and an algorithm of automatically disposing the include-relation on files are proposed. As a supplement, an algorithm of manual adjustment for meta-graph is introduced. The actual analysis results on codes show that the research is conducive to support for program analysis and understanding of source code.
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
古辉,乔凯旋.C++指针机制与源文件关联关系的可视化研究.计算机系统应用,2012,21(7):236-239,253
GU Hui,QIAO Kai-Xuan.Pointer Mechanism and Source Files Association’s Visualization in C++.COMPUTER SYSTEMS APPLICATIONS,2012,21(7):236-239,253