无效功能 [英] void functions

查看:64
本文介绍了无效功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在试图找出为什么我的教授希望我们通过void函数和使用call-by-reference来运行公制英语和英语的转换。另外我想知道是否有人对如何开始这一点有任何意见,我真的不理解通过引用调用的void函数。

解决方案

< blockquote class =post_quotes>
我正在试图找出为什么我的教授希望我们通过void函数和使用call-by-reference来运行公制英语和英语的转换。此外,我想知道是否有人有任何关于如何开始这一点,我真的不明白虚拟功能与引用调用。



您是否尝试过首先阅读这些教程?



您是否尝试过首先阅读这些教程?



我没有...你知道我能通过什么吗?


http://www.cplusplus.com/doc/tutorial/functions.html


谷歌搜索''c ++ void function tutorial''可能会更有效地利用你的时间。


I''m trying to figure out why my prof would want us to run a conversion of metric to english and english to metric through a void function and using call-by-reference. Also i was wondering if anyone had any points in how to start this, i really don''t understand the void functions with call-by-reference.

解决方案

I''m trying to figure out why my prof would want us to run a conversion of metric to english and english to metric through a void function and using call-by-reference. Also i was wondering if anyone had any points in how to start this, i really don''t understand the void functions with call-by-reference.

Have you tried going through a tutorial for these first?


Have you tried going through a tutorial for these first?

no i havent... do you know of any i can go through?


http://www.cplusplus.com/doc/tutorial/functions.html

A Google search of ''c++ void function tutorial'' probably would have been a more efficient use of your time.


这篇关于无效功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆