Title |
User |
Message |
Date Posted |
Re: Initialization |
bbi5291 |
The exception is for classes that have default constructors, or data items declared static. However, it only takes an extra second to type ={0}, so make sure you do it... |
Jan 14, 2009 - 11:49:14 pm UTC |
Initialization |
ultblad1 |
In C++, initialization only occurs for global arrays. If you declare a variable within int main or another function, then it contains a random value. |
Jan 14, 2009 - 2:36:39 pm UTC |
G++ didnt initialize my array for me.. |
taimla101 |
so it worked at school and on my comp, but not on the judge |
Jan 14, 2009 - 2:26:12 am UTC |