[[lesson_10_two_msgs.cpp]] Rescued by C++ Reloaded

Route:


[user02@FC4 Lesson10]$ cat -n two_msgs.cpp
1 #include <iostream> 2 using namespace std; 3 4 void show_title() 5 { 6 cout << "Book: Rescued by C++" << endl; 7 } 8 9 void show_lesson() 10 { 11 cout << "Lesson: Getting Started With Functions" << endl; 12 } 13 14 int main() 15 { 16 show_title(); 17 show_lesson(); 18 19 return 0; 20 }
[user02@FC4 Lesson10]$ g++ -o two_msgs two_msgs.cpp
[user02@FC4 Lesson10]$ ./two_msgs
Book: Rescued by C++
Lesson: Getting Started With Functions
[user02@FC4 Lesson10]$
lesson_10_two_msgs.cpp, Rev. 1, Last changed on 2005-08-18 06:04, 274 page hits
Wiki hosted for free at wikihost.org || RSS-Feed || GeboGebo 1.3.3 || 00.302 seconds || || PAGERANK TOOLS