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
This is a discussion on Creating a new array of poiters to functions. within the C++ Programming forums, part of the General Programming Boards category; Hi Im trying to create a new array of pointers to functions, ive tried many things including this: Code: bool ...
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.
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
Ok tks for the help, i forgot typecasts lol