70 likes | 187 Views
Programming 1 C++. Book : A Complete Guide to Programming in C++ Blog : http://csc240.wordpress.com Office Hours : Tues: 8-9 , 10-12 Wed: 8-10 E-mail : hyabdullrahman@pnu.edu.sa Software: Visual Studio 2008. File New Project. Project add new item. Example #1.
E N D
Book: A Complete Guide to Programming in C++ Blog : http://csc240.wordpress.com Office Hours : Tues: 8-9 , 10-12 Wed: 8-10 E-mail : hyabdullrahman@pnu.edu.sa Software: Visual Studio 2008 .
Example #1 #include <iostream> using namespace std; int main() { cout << "Enjoy yourself with C++!" << endl; return 0; }
Example #2 #include <iostream> using namespace std; int main() { cout << " Oh what " << endl; cout << " a happy day! " << endl; return 0; }