Trouble shooting basic c++ compile issues