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

Route:


[user02@FC4 Lesson13]$ cat -n lclname.cpp
1 #include <iostream> 2 using namespace std; 3 4 int add_values(int a, int b)

5 { 6 int value; 7 8 value = a + b; 9 10 return(value); 11 } 12 13 int main() 14 { 15 int value = 1001; 16 int other_value = 2002; 17 18 cout << value << " + " << other_value << " = " << add_values(value, other_value) << endl; 19 20 return 0; 21 }
[user02@FC4 Lesson13]$ g++ -o lclname lclname.cpp
[user02@FC4 Lesson13]$ ./lclname
1001 + 2002 = 3003
[user02@FC4 Lesson13]$
lesson_13_lclname.cpp, Rev. 2, Last changed on 2005-08-18 07:10, 317 page hits
Help others to find those things you like

Have you already seen the Tag it! button on the top right of the wiki pages?

Look into the tag cloud
Wiki hosted for free at wikihost.org || RSS-Feed || GeboGebo 1.3.3 || 00.176 seconds || || PAGERANK TOOLS