Cpp Console Output and Error Printing using cout and cerr