C/C++编程风格批注系统的设计与实现  被引量:3

Design and Implementation of C/C++ Programming Style Annotation System

在线阅读下载全文

作  者:韩君泽[1] 张良德[2,3] 刘东升[3] 

机构地区:[1]南开大学信息技术科学学院,天津300071 [2]内蒙古警察职业学院,呼和浩特010051 [3]内蒙古师范大学计算机与信息工程学院,呼和浩特010022

出  处:《内蒙古大学学报(自然科学版)》2010年第6期712-716,共5页Journal of Inner Mongolia University:Natural Science Edition

基  金:国家自然科学基金资助项目(60940027)

摘  要:程序设计实践中常见的编程风格问题包括缩进、对齐、一行书写多条语句、空行和注释,将上述问题分类并形式化为括号匹配问题,基于改进的匹配算法,设计并实现了一个C/C++编程风格批注系统.该系统能够自动对C/C++程序代码中存在的编程风格问题进行检测,并通过友好的用户界面给出对应的批注信息和规范后的代码文本.Common problems of programming style in practice include indentation, alignment, multlple-statements in a single line,blank lines and comments. Such situations were taken as matching-brackets problems,and a C/C+ + programming style annotation system was implemented by an improved matching algorithm. This system can automatically detect the programming style problem which exists in C/C+ + program codes, and give the corresponding notation information and code text of standardization through friendly user interface.

关 键 词:C/C++ 编程风格 自动批注 匹配算法 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象