Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualParadigm Shifter

Posted 28 February 2013 - 04:24 PM

Just try 

 

cout<<"What do you want your hero's name to be?" << endl;

 

etc.

 

I think using "\n" doesn't flush the output stream. Using endl definitely does. You don't need std:: before endl since you already had

 

using namespace std;


#1Paradigm Shifter

Posted 28 February 2013 - 04:24 PM

Just try 

 

out<<"What do you want your hero's name to be?" << endl;

 

etc.

 

I think using "\n" doesn't flush the output stream. Using endl definitely does. You don't need std:: before endl since you already had

 

using namespace std;


PARTNERS