Original Post
blah
class cFunctor{public: void operator()(/* ... parameter list ... */) { /* function body */ };};Quote:Doesn't look like it - according to IMDB, he currently has nine movies in production! :-)
Original post by Kada2k6
By the way John Hurt, I didn't know you were into programming! Did it get boring making movies? :-)
int Function( void *pData ){ tWeapon *pWeapon = (tWeapon*)pData;}Quote:
tWeapon *pWeapon = (tWeapon*)pData;
typedef struct {int a, b;} int_pair; int sum(void *p){ int_pair *pair = p; return pair->a + pair->b;}/* ... */int_pair pair = {10, 7};int ret = sum(&pair); This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more