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

C/C++ is cryptic

Name: Anonymous 2011-08-09 1:16

What does the following C/C++ construction do?

(A->*B)(C,D)[E]

Name: Anonymous 2011-08-09 13:48


I'm not sure, but I think B is a pointer to a function that is stored in a struct (A), and C and D are parameters to that function. Also, the return type is an array.

So, get the E'th return value of B(C,D).

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