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

Pages: 1-

C++ help with syntax?

Name: Anonymous 2012-11-18 9:47

What does this C++ syntax mean?


method_call(Some_Class *)Some_Other_Class);


Is this some form of typecasting? The parameter in question should be a pointer by the way.

Name: Anonymous 2012-11-18 10:06

Yes, you're casting a Some_Other_Class to a pointer to a Some_Class. Assuming the missing ( is where I think it's supposed to be.

Name: Anonymous 2012-11-18 14:33

Terrible!

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