由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] A C++ Constructor Question
相关主题
[合集] C++ STL questionc++ question
[合集] 从语言的特性来谈Pythonwhat is the difference?
[合集] 导师叫我装C++a simple question about constructor
[合集] can C++ constructor be private? the answer is YES!function declaration
《新C++标准:C++0x 概述》英文文字版[PDF]被reference搞晕了
c++ initialize structC++ 中 myobject * a =new myobject[n] 的问题
请教几个C++问题Test your C++ knowledge...
请教个Bloomberg 的 C++ 题目matlab: how to set defaul value for function arguments
相关话题的讨论汇总
话题: c++话题: wed话题: may话题: question
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
haveagoodday (Offer) 于 (Wed May 25 01:27:58 2005) 提到:
What is the difference between:
B b;
and
B b();
where B is a class name?
Thanks.
☆─────────────────────────────────────☆
arya (死火山下) 于 (Wed May 25 01:36:21 2005) 提到:
The latter is not a form of constructor in C++. Instead it is a form of
declaration of a function accepting no arguments and returning a B object.

☆─────────────────────────────────────☆
haveagoodday (Offer) 于 (Wed May 25 01:
1 (共1页)
进入Programming版参与讨论
相关主题
matlab: how to set defaul value for function arguments《新C++标准:C++0x 概述》英文文字版[PDF]
Re: 110道C++面试题目,你会做多少? (转载)c++ initialize struct
C++问题,confusing...请教几个C++问题
C++里面请教个Bloomberg 的 C++ 题目
[合集] C++ STL questionc++ question
[合集] 从语言的特性来谈Pythonwhat is the difference?
[合集] 导师叫我装C++a simple question about constructor
[合集] can C++ constructor be private? the answer is YES!function declaration
相关话题的讨论汇总
话题: c++话题: wed话题: may话题: question