摘要
程序设计中经常需要对数据进行有效性验证,以尽可能减少由于数据无效而引起的程序运行错误,本文介绍了四种情况的数据有效性验证,并通过C语言程序例子对这几种数据有效性验证进行了说明。
The effectiveness of data is often needed to verify in programming to minimize program running errors caused by this invalid data. This paper introduces four kinds of data validity checking, and explains their validity with examples based on C Program.
出处
《教学与科技》
2010年第4期11-14,共4页
Teaching and Science Technology
关键词
有效性检查
数据一致性
C程序设计
validity checking: the data consistency: C programming