Jun 20, 2004 #1 nbgoku Programmer May 25, 2004 108 US int tryssnn = 2; int tryssf[tryssnn]; i get an error saying that tryssf has an unknown size, its not a warning, its an error, why the heck wont it tell that im giving it a size of 2?
int tryssnn = 2; int tryssf[tryssnn]; i get an error saying that tryssf has an unknown size, its not a warning, its an error, why the heck wont it tell that im giving it a size of 2?
Jun 20, 2004 #2 ArkM IS-IT--Management Oct 21, 2002 1,819 RU The var must be const in C++: Code: const int tryssnn = 2; int tryssf[tryssnn]; Only const expressions must appeare in array size position. Upvote 0 Downvote
The var must be const in C++: Code: const int tryssnn = 2; int tryssf[tryssnn]; Only const expressions must appeare in array size position.
Jun 20, 2004 Thread starter #3 nbgoku Programmer May 25, 2004 108 US wowowow! thanks! Upvote 0 Downvote