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

浅谈C语言中指针使用不当的危险性
引用本文:康牧,赵治国.浅谈C语言中指针使用不当的危险性[J].洛阳师范学院学报,2000,19(2):80-82.
作者姓名:康牧  赵治国
作者单位:洛阳师专,河南洛阳 471022
摘    要:C语言是一种中级语言 ,它的指针具有强大的功能 ,它的功能是其它高级语言所不能比拟的 ,但是 ,如果对指针使用不当就会使系统处于极端危险的状态 ,有时会使系统丢失数据 ,有时会使系统‘死机’ 本文详细讨论了产生这种情况的原因 ,同时也给出了正确的使用方法

关 键 词:C语言  指针  悬挂访问  中断向量表  堆栈段  代码段  数据段  附加段
文章编号:1007-2969(2000)02-0080-03
修稿时间:1999年1月29日

The Dangers for Improper Use of Pointer in C Language
KANG Mu,ZHAO ZHi,guo.The Dangers for Improper Use of Pointer in C Language[J].Journal of Luoyang Teachers College,2000,19(2):80-82.
Authors:KANG Mu  ZHAO ZHi  guo
Abstract:C language is a kind of intermediate language. Its pointer has so powerful a function that even some advanced languages do not have. However, if the pointer is not used properly, the system could be in great danger. Sometimes even data missing and a dead halt may happen to the system. In this article, a detailed analysis is made of the reasons why such problems occur and a direction of how to use it is provided.
Keywords:C language  pointer  hanging use  table of interrupt address  stack segment  code segment  data segment  extra segment  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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