Analyzing and Debugging the Errors of C Language Pointer
Author:
  • Article
  • | |
  • Metrics
  • |
  • Reference [13]
  • |
  • Related [20]
  • | | |
  • Comments
    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.

    Reference
    1 谭浩强.C程序设计.第4版.北京:清华大学出版社,2010.910.
    2 姜青山,洪心兰.C语言程序设计的健壮性与安全性研究. 工矿自动化,2007,5:125-126.
    3 郭曦,何炎祥,张焕国,等.一种改进的指针安全分析算法.武汉大学学报(理工版),2010,56(2):170-174.
    4 马国峰,杨俊红,李元臣.高职C语言教材建设的改革与实践.教育与职业,2012,2:116-117.
    5 马英.C语言程序设计课教学之我见.山西财经大学学报, 2011,33(2):131-132.
    6 叶幼林.对计算机C 语言教学的探讨与研究.中南民族大学学报(人文社会科学版),2004,24(4):189-190.
    7 陈婷.C 语言程序设计实验教学改革探究.实验技术与管理,2010,27(10):182-184.
    8 高海昌,冯博琴,何杭军,等.Linux 平台下基于源代码插装的动态内存检测.小型微型计算机系统,2006,27(9):1647-1651.
    9 彭程,杨春生.C 语言指针操作技巧探讨.中国高新技术企业,2008,10:107-108.
    10 张广梅,李晓维.动态内存错误的动态检测.计算机辅助设计与图形学学报,2005,17(3):400-406.
    11 张俊.基于递归树的递归调用分析.实验室研究与探索,2010,29(3):83-87.
    12 何灵敏,许翔,陆慧娟,等.C++教学中编程习惯的养成.计算机教育,2011,9:64-67.
    13 封亮,严少清.软件白盒测试的方法和实践.计算机工程,2000,26(12):87-90.
    Cited by
    Comments
    Comments
    分享到微博
    Submit
Get Citation

许永达. C语言指针错误的分析及调试.计算机系统应用,2013,22(3):153-156,181

Copy
Share
Article Metrics
  • Abstract:2043
  • PDF: 5549
  • HTML: 0
  • Cited by: 0
History
  • Received:August 28,2012
  • Revised:October 15,2012
Article QR Code
You are the first1094902Visitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-3
Address:4# South Fourth Street, Zhongguancun,Haidian, Beijing,Postal Code:100190
Phone:010-62661041 Fax: Email:csa (a) iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063