c**********e 发帖数: 2007 | 1 How to make a function, which returns a class A object, a class B object and
an integer? Thanks. |
r*******y 发帖数: 1081 | 2 defines a new class ?
class c{
public:
A aa;
B bb;
int ii;
};
c function()?
and
【在 c**********e 的大作中提到】 : How to make a function, which returns a class A object, a class B object and : an integer? Thanks.
|
m********l 发帖数: 4394 | 3 pass by ref or new class
and
【在 c**********e 的大作中提到】 : How to make a function, which returns a class A object, a class B object and : an integer? Thanks.
|
m********l 发帖数: 4394 | 4 how about a different question.
OR an integer? Thanks.
and |
f****4 发帖数: 1359 | 5 传引用进去
或者返回一个void *指针数组,依次指向A,B,integer
and
【在 c**********e 的大作中提到】 : How to make a function, which returns a class A object, a class B object and : an integer? Thanks.
|
h**k 发帖数: 3368 | 6 或者返回
pair, int>
【在 f****4 的大作中提到】 : 传引用进去 : 或者返回一个void *指针数组,依次指向A,B,integer : : and
|
d***x 发帖数: 336 | 7 return a pointer
【在 m********l 的大作中提到】 : how about a different question. : OR an integer? Thanks. : and
|
h*****2 发帖数: 258 | 8 Template
and
【在 c**********e 的大作中提到】 : How to make a function, which returns a class A object, a class B object and : an integer? Thanks.
|