I have this project where I have to convert a declaration into English word.
If it reads this line(assume no spaces are used)
void*(*z) (char, int (*)());
my output would be.
z is a pointer to a function that takes 2 parameters a char and a pointer to a function that takes no parameters and returns an int and returns a pointer to void.
only variable z is in each function.
Can anyone suggest a way to start this?
Of course I have to locate z first. I don't need code, just some ideas on how to start.
Thanks. (Trying not to use STL).