摘要
通过简单语句或程序段对C程序中一些常见错误进行例举并给出对应的编译信息。依据C语言语法格式和编程规则,对这些错误进行较为详细的分析,并且对产生错误的原因进行归纳分类。程序中常见错误的类型归纳有助于错误的识别和避免,将会大大提高编程效率和程序的准确程度。
This article illustrates some of common mistakes and compiler messages in simple statements or program segments. It analyzes and classifies the reasons that result in these mistakes by principle of the syntax and formats of C language. In this way, it is a great help for programmers to identify and avoid such mistakes, and to write efficient and better programs.
出处
《电脑知识与技术》
2006年第9期148-148,166,共2页
Computer Knowledge and Technology
关键词
程序
函数
编译
调试
算法
Program
Function
Compile
Debug
Algorithm