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

Route:


[user02@FC4 Lesson06]$ cat -n inccount.c
1 #include <stdio.h> 2 3 int main(void) 4 { 5 int count = 1000; 6 7 printf("count's starting value is %d\n", count); 8 count = count + 1; 9 printf("count's ending value is %d\n", count); 10 11 return 0; 12 }
[user02@FC4 Lesson06]$ gcc -o inccount inccount.c
[user02@FC4 Lesson06]$ ./inccount
count's starting value is 1000
count's ending value is 1001
lesson_6_inccount.c, Rev. 1, Last changed on 2005-08-09 02:25, 342 page hits
Wiki hosted for free at wikihost.org || RSS-Feed || GeboGebo 1.3.3 || 00.179 seconds || || PAGERANK TOOLS