R
raashid bhatt
typedef int function(int);
Please explain how can i use this one
Please explain how can i use this one
raashid said:typedef int function(int);
Please explain how can i use this one
Eric said:There's not much you can do with this one. You can
use it in the declaration of a function pointer:
....int this(int x) { return x + 1; }
int that(int y) { return y - 1; }
jameskuyper said:You can also use it in a declaration of a function:
function this;
function that;
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.