首页 | 本学科首页   官方微博 | 高级检索  
     

对C语言编码规范的探讨
引用本文:刘竹林.对C语言编码规范的探讨[J].山西电子技术,2011(1):77-78,84.
作者姓名:刘竹林
作者单位:十堰职业技术学院电子工程系;
摘    要:对大多数利用C语言编写软件代码的工程师而言,存在的突出问题是软件代码编写不规范,导致程序的可读性和可维护性差。为了保证在软件开发过程中,前后的代码风格一致,便于维护,提高软件产品的质量和保持开发产品的延续性,尝试制定本编码规范。本规范详细制定了源代码书写、变量命名、函数/过程的书写、错误和异常处理等方法。

关 键 词:C语言  软件代码  编码规范

Approach to C Language Coding Standards
Liu Zhu-lin.Approach to C Language Coding Standards[J].Shanxi Electronic Technology,2011(1):77-78,84.
Authors:Liu Zhu-lin
Affiliation:Liu Zhu-lin(Dept.of Electronics Eng,Shiyan Technical Institute,Shiyan Hubei 442000,China)
Abstract:For the most of engineers who write software a code by C language,the outstanding issue is that the software coding is not standardized which leads to the weak readability and maintainability.In order to ensure the consistency of coding styles,the quality of software and the maintainability of products development,the paper introduce the coding standard.Details of this thesis provide the writing standard of source code,the variable names,functions(processes),errors and abnormity handling and so on.
Keywords:C language  software code  coding standards  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号