C语言中的函数应用时易出现的错误
DOI:
作者:
作者单位:

1. 西昌学院,四川,西昌,615022
2. 桂林航天工业高等专科学校,广西,桂林,541004
3. 成都电子高专,四川,成都

作者简介:

通讯作者:

基金项目:

致谢:感谢罗明英副教授的指导!


Mistake Apting to Appear when the Function is used in Language C
Author:
Affiliation:

1.Information and technology department of Xichang CoUege,Xichang 615022, Sichuan; 2.Aerospale Industry College of Guilin Guilin 541004, Guang Xi; 3. Chengdu Electromechanical College, Chengdu 61000, Sichuan

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
    摘要:

    C语言程序完全由函数组成。除程序必须包含的main函数(主函数)和语言本身提供的库函数外,用户还可根据需要定义任意多个自己的函数。通过主函数调用其他函数(库函数,用户自定义函数),其他函数之间的相互调用,完成相应的程序功能。C语言程序一般是由大量的小函数而不是由少量大函数构成的,这样可以让各部分相互充分独立,并且任务单一。文章对函数在C语言中的应用时易出现的错误进行了分析。

    Abstract:

    C language procedure is totally made up of function. Except main f unction (main function) that procedure must include and language storehouse func tion that itself offers, users can also define a lot of one's own function acco rding to their needs. Transfer other function through main function (the functio n of the storehouse , user's self-defining function), transferring each other b etween other functions, finish the corresponding procedure function. C language procedure is generally by a large amount of small function instead of forming by a small amount of great function, can let every part sufficient independence ea ch other so, and the task is single . The mistake apt to appear has been analyze d at the time of the application of function in C language in this article.

    参考文献
    相似文献
    引证文献
引用本文

蒋春蕾,杨双,岳富强,刘辉. C语言中的函数应用时易出现的错误[J].西昌学院学报(自然科学版),2005,(3):90-93.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
历史
  • 收稿日期:2005-07-01
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2017-08-25