Attached File(s)
-
New_Microsoft_Word_Document__2_.doc (79.5K)
Number of downloads: 120




Posted 29 April 2008 - 11:53 AM
New_Microsoft_Word_Document__2_.doc (79.5K)
Posted 29 April 2008 - 12:28 PM
// just for sake of argument, lets make an array with
// simple values in it
int array[10] = {1,2,3,4,5,6,7,8,9,10};
int total = 0; // this will be our total
for (int i = 0; i < sizeof(array); i++)
total += array[i]; // adds the current value being read to total
This post has been edited by gabehabe: 29 April 2008 - 12:29 PM
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
