Posted: Sun Aug 01, 2010 6:45 am Post subject: Initializing an array of pointers Help!
Hello all.
I was trying to initialze an array of pointers from a second-level pointer variable:
Species **entries = new *Species[10];
and received an some errors:
c:\..\heappq.cpp(13) : error C2059: syntax error : '*'
c:\..\heappq.cpp(13) : error C2275: 'Species' : illegal use of this type as an expression
c:\..\heappq.cpp(21) : see declaration of 'Species'
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum