I am using Code::Blocks 10.05
Can you tell me where I can find the version of GCC that came with it and if it is 4.5 how I can update to 4.6.
I ask this as when I use in C++
array<int,13> monthdays = { 29, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
I get an error that the braces are missing and have to put another set round as follows
array<int,13> monthdays = {{ 29, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }};
According to the C++ Forum this has been fixed in GCC >4.6
I appreciate this is a pretty small thing but would like to know how to upgrade anyway for future reference.