Difference between revisions of "User:Dominator"

From PrattWiki
Jump to navigation Jump to search
Line 1: Line 1:
<nowiki>#</nowiki>include<cstdlib> \n
+
<nowiki>#</nowiki>include<cstdlib> <br />
<nowiki>#</nowiki>include <stdlib.h>
+
<nowiki>#</nowiki>include <stdlib.h> <br />
<nowiki>#</nowiki>include <iostream>
+
<nowiki>#</nowiki>include <iostream> <br />
  
 
using namespace std;
 
using namespace std;
Line 8: Line 8:
 
   cout << "Hello World!" << endl;
 
   cout << "Hello World!" << endl;
 
   cout << "My name is Michael Zhou && I'm a student in EGR53." << endl;
 
   cout << "My name is Michael Zhou && I'm a student in EGR53." << endl;
   cout << "Nice meeting you guys" << endl;
+
   cout << "Nice meeting you guys." << endl;
 
   return 0;
 
   return 0;
 
}
 
}

Revision as of 22:33, 20 September 2011

#include<cstdlib>
#include <stdlib.h>
#include <iostream>

using namespace std;

int main (int argc, char **argv) {

 cout << "Hello World!" << endl;
 cout << "My name is Michael Zhou && I'm a student in EGR53." << endl;
 cout << "Nice meeting you guys." << endl;
 return 0;

}