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

Route:


[user02@FC4 Lesson06]$ cat -n inccount.cpp
1 #include <iostream> 2 using namespace std; 3 4 int main() 5 { 6 int count = 1000; 7 8 cout << "count's starting value is " << count << endl; 9 count = count + 1; 10 cout << "count's ending value is " << count << endl; 11 12 return 0; 13 }
[user02@FC4 Lesson06]$ g++ -o inccount inccount.cpp
[user02@FC4 Lesson06]$ ./inccount
count's starting value is 1000
count's ending value is 1001
lesson_6_inccount.cpp, Rev. 1, Last changed on 2005-08-09 02:09, 322 page hits
Wiki hosted for free at wikihost.org || RSS-Feed || GeboGebo 1.3.3 || 00.263 seconds || || PAGERANK TOOLS