|
Tutorial 1 - Server Side Counting
|
|
What's Happening?
|
-
As you can see, the counter program is reading the value
'5' that we primed the article01.dat file with, adding one
to it and storing the new value '6' in there.
-
Now run the program again. The old value should be 6 and
the new value should be 7.
-
You'll notice too that the output from this program is
coming out all together, without skipping lines for each
'print' statement we coded. We'll
go into that more in the second article.
|
|
|