WTF I must say, I'm just learning C++ and I have to declare my variables with a value, ie
int x;
x = 0;
or
int x = 0;
or I get some funky number when doing my projects.... lost about 20 minutes figuring this out. Could someone tell me why C++ does not default to 0? or is it a bug in my compiler?