Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

returning an object in c++

Name: Anonymous 2012-09-07 6:57

When I try to return an object of a class in my program it's always empty.
I tried researching it on google and the only thing I could understand was that apparently it's not that simple. It's usually forum threads that seem to go offtopic really quickly or are just marginally related in the first place.

does the object get destroyed before it can be used? what do I have to do in order to return an object?

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-09-07 7:05

Look at the .asm file and figure out what you did wrong.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-09-07 7:06

Look at the .asm file and figure out what you did wrong.

Name: Anonymous 2012-09-07 7:10

test

Name: Anonymous 2012-09-07 7:10

test

Name: Anonymous 2012-09-07 7:32

Is now shiitchan so broken that double-posts everything?

Name: Anonymous 2012-09-07 7:32

Is now shiitchan so broken that double-posts everything?

Name: Anonymous 2012-09-07 7:50

It works now. No idea what I did wrong...

Name: Anonymous 2012-09-07 7:51

It works now. No idea what I did wrong...

Name: Anonymous 2012-09-07 8:21

Testing, 1-2-3.

Name: Anonymous 2012-09-07 8:27

Testing, 1-2-3.

Name: Anonymous 2012-09-07 8:53

check my dubs

Name: Anonymous 2012-09-07 11:26

Just return by reference or pointer like a normal person.

Name: Anonymous 2012-09-07 14:59

return this

Name: Anonymous 2012-09-07 22:20

Post some code. Not sure I'm following your question. Do you mean a function outside of the class won't return an object of that class type, or a class function won't?

Name: Anonymous 2012-09-07 22:43

test

Name: Anonymous 2012-09-08 2:34

RETURN MY ANUS

Don't change these.
Name: Email:
Entire Thread Thread List