boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] I totally don't understand this tutorial
相关主题
请教一个c++ reference问题
[合集] 谭浩强的那本C++的书怎样?C++初学书哪本最好?
[合集] 【求助】如何将c string中的string转换成int?谢谢
cvs configuration
Learning C++ to enhance Quantitative Finance skills, any good online tutorials oor books?
UML tutorial (转载)
question about structure initializationa and reference
HTML 的入门书?
问一下学习python可以看什么代码
GUI里打开.fig文件用imagesc显示图像 (转载)
相关话题的讨论汇总
话题: tutorial话题: nov话题: thu话题: hours话题: double
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
leonjld (三天打鱼) 于 (Thu Nov 27 09:41:54 2008) 提到:
http://www.functionx.com/cpp/examples/returnreference.htm
does it work?
double & GetWeeklyHours()
{
double h = 46.50;
double &hours = h;
return hours;
}
and if yes, what's the difference between "return h" and "return hours"
or the tutorial was written by a vegetarian bird?
☆─────────────────────────────────────☆
littlewing (swansong) 于 (Thu Nov 27 10:34:17 2008) 提到:
it works.
2 good way
1 (共1页)
进入Programming版参与讨论
相关主题
GUI里打开.fig文件用imagesc显示图像 (转载)
[合集] how to read c++ books?
C++ STL
perl临时看来得及吗? 有什么资料推荐一下
Brainbench test (转载)
IPhone Dev
Anyone can recommend a good online C++ tutorial?
用数组做参数,在函数内部如何知道数组的size?
expert level C++
maven
相关话题的讨论汇总
话题: tutorial话题: nov话题: thu话题: hours话题: double