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

C++中函数的参数传递机制剖析
引用本文:黄国军. C++中函数的参数传递机制剖析[J]. 电脑学习, 2009, 0(3): 128-129
作者姓名:黄国军
作者单位:黄冈职业技术学院计算机系,湖北,黄冈,438002
摘    要:对C++教学和编程过程中普遍存在的函数的参数的值传进、地址传递和引用传递三者之间极易混淆的问题进行了探讨和分析。并通过程序举例和图形化的方式揭示了函数的参数传递机制的本质。

关 键 词:实际参数  形式参数  地址  引用

Analysis of Function's Parameter Transmission Mechanism in C++
Huang Guojun. Analysis of Function's Parameter Transmission Mechanism in C++[J]. Computer Study, 2009, 0(3): 128-129
Authors:Huang Guojun
Affiliation:Huang Guojun
Abstract:The paper discusses and analyzes the relations among value transmission,address transmission and reference transmission of function's parameter which are easily confused during the course of teaching and programming in C++, and reveals the nature of function's Parameter transmission mechanism by program examples and figures.
Keywords:Practical Parameter Formal Parameter Address Reference  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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