Did you remember to put \n or std::endl at the end of it? I'll bet you a quarter you didn't.
If you're using g++ and not using -Wall and -Wextra and -Weffc++, then you're just being silly.
Also: see other EDIT above.
Did you remember to put \n or std::endl at the end of it? I'll bet you a quarter you didn't.
If you're using g++ and not using -Wall and -Wextra and -Weffc++, then you're just being silly.
Also: see other EDIT above.