由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - C++ Q74: How to return a combination of a class A object, a (转载)
相关主题
[合集] C++ question -- how to save objects关于effective c++的几个问题
问问开发ios的,有用C++来组织代码的么?C++ questions
C, C++, Java, C#, Objective-C,C++ interdependence question
[转载] Tcl/C++ questionC++疑问
C++ class cross reference problemmultithread program design pattern (C++)
请教一个C++有关的编译问题除了类,c++和C区别在那?
some C++ interview questionsdynamic_cast operator in C++
C++ question问两个问题,C++
相关话题的讨论汇总
话题: object话题: class话题: c++话题: q74
进入Programming版参与讨论
1 (共1页)
c**********e
发帖数: 2007
1
【 以下文字转载自 JobHunting 讨论区 】
发信人: careerchange (Stupid), 信区: JobHunting
标 题: C++ Q74: How to return a combination of a class A object, a class B object and an int
发信站: BBS 未名空间站 (Sat Apr 30 22:26:36 2011, 美东)
How to make a function, which returns a class A object, a class B object and
an integer? Thanks.
e*****w
发帖数: 144
2
use mutable arguments such as pointers.

B object and an int
and

【在 c**********e 的大作中提到】
: 【 以下文字转载自 JobHunting 讨论区 】
: 发信人: careerchange (Stupid), 信区: JobHunting
: 标 题: C++ Q74: How to return a combination of a class A object, a class B object and an int
: 发信站: BBS 未名空间站 (Sat Apr 30 22:26:36 2011, 美东)
: How to make a function, which returns a class A object, a class B object and
: an integer? Thanks.

e****d
发帖数: 895
3
Return a boost::tuple

B object and an int
and

【在 c**********e 的大作中提到】
: 【 以下文字转载自 JobHunting 讨论区 】
: 发信人: careerchange (Stupid), 信区: JobHunting
: 标 题: C++ Q74: How to return a combination of a class A object, a class B object and an int
: 发信站: BBS 未名空间站 (Sat Apr 30 22:26:36 2011, 美东)
: How to make a function, which returns a class A object, a class B object and
: an integer? Thanks.

1 (共1页)
进入Programming版参与讨论
相关主题
问两个问题,C++C++ class cross reference problem
两个看来相似的问题请教一个C++有关的编译问题
a simple C++ questionsome C++ interview questions
copy constructor问题。C++ question
[合集] C++ question -- how to save objects关于effective c++的几个问题
问问开发ios的,有用C++来组织代码的么?C++ questions
C, C++, Java, C#, Objective-C,C++ interdependence question
[转载] Tcl/C++ questionC++疑问
相关话题的讨论汇总
话题: object话题: class话题: c++话题: q74