News

Your example will initialize element 100(which you don't actually have) to whatever the current value of count is + 1...it should be:<P>for (int count = 0; count < 100; count++)<BR>{<BR>num[count ...
In part 4 of this series on the C++ Core Guidelines, Kate Gregory reminds you of an oddity in C++ when it comes to initializing member variables, and shows you a best practice that will make sure this ...