###
DOI:
计算机系统应用英文版:2013,22(3):153-156,181
本文二维码信息
码上扫一扫!
C语言指针错误的分析及调试
(湛江师范学院 信息与教育技术中心, 湛江 524048)
Analyzing and Debugging the Errors of C Language Pointer
(Information and Educational Technology Center, Zhanjiang Normal University, Zhanjiang 524048, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1862次   下载 4493
Received:August 28, 2012    Revised:October 15, 2012
中文摘要: C语言指针的有些错误在程序编译阶段难以发现, 且现行教材主要从概念、理论上对指针错误进行讲述, 存在不足. 分析了带有此类错误的示例程序, 并在VISUAL C++ 6.0进行调试, 展示此类指针错误的错误现象, 分析其产生的原因, 提出正确使用指针的方法, 以达到预防此类指针错误发生的目的.
中文关键词: C语言  指针  Visual C++ 6.0  调试  编程习惯
Abstract:Some pointer errors in C Programming are not easily found at the compiling phase. The current teaching materials cannot provide sufficient description on those errors, but mainly focusing on concept or theory. This article aims at preventing those errors by analyzing those errors in sample programs, debugging those errors in VISUAL C++ 6.0, showing the phenomena of those errors, analyzing their causes, and putting forward the correct way to use pointers.
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
许永达.C语言指针错误的分析及调试.计算机系统应用,2013,22(3):153-156,181
XU Yong-Da.Analyzing and Debugging the Errors of C Language Pointer.COMPUTER SYSTEMS APPLICATIONS,2013,22(3):153-156,181