At 10:07 2007-01-28, Robert Ryan wrote:
>how is a vector diff from an array:
>int[] num = {5, 4, 7, 8, 9};
>int total = 0;
>for(int i = 0; i = num.length; i++) {
> total += num[i];
>}
> cout << "The total is "<< total << endl;
>}I don't believe that is legal C++. what compiler are you using? Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
