This is really stupid question to ask but I really didn't find its answer anywhere else. I am just trying to allocate memory to store pointers. It should be most easy. But annoyingly its not working (In VS2010 on Windows)...
int _tmain(int argc, _TCHAR* argv[]) { int* ints; int** intptrs; // Want to allocate space for single pointer ints = new int[10]; // Works // Want to allocate space for a integer pointer intptrs = new (int*); // Works // Want to allocate space for 10 integer pointers intptrs = new (int*)[10]; // error C2143: syntax error : missing ';' before '[' }