It's counter-intuitive to put in a command on separate lines like this: c++ hello.cpp -o hello Should modify the command-line argument parse step so that you can just type: c++ hello.cpp -o hello Or c++ hello.cpp -o hello