Thread: Moving on
View Single Post
Old
legolizard
Senior Member
 
legolizard's Avatar
 
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 08-08-2011, 03:37 PM

Only syntax errors. Firstly it is endl with an 'l' not end1 with a '1.' Secondly you forgot to use the insertion operators for ever endl;

For example you did:

Code:
cout<<"Hello we are about to learn about the functions" end1;
But it should be:

Code:
cout << "Hello we are about to learn about the functions" << endl;


"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein
   
Reply With Quote