hi guys, here i have a pretty noobish question...
say,
i have something like that, and theres no compiletime error, but when i run it, there is just some random error.Code:#include <iostream>
using namespace std;
class abc {
int value;
abc(char something) {
switch(something) {
case '1':
cin >> value;
break;
}
};
main() {
abc(1);
return 0;
}
and i am just wondering if someone know any good free c++ debuggers. thanks.