Hi
Im trying to create a new array of pointers to functions, ive tried many things including this:
but it doesnt work, :\Code:bool (**temp)() = new bool (*[arrSize + 1])();
can anyone explain to me what am i doing wrong??
tks
Hi
Im trying to create a new array of pointers to functions, ive tried many things including this:
but it doesnt work, :\Code:bool (**temp)() = new bool (*[arrSize + 1])();
can anyone explain to me what am i doing wrong??
tks
Typedef the function pointer type, and then it will be easy. Also, use std::vector for a dynamic array.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Ok tks for the help, i forgot typecasts lol