Robert, thats almost legal Java (cout, for loop condition),
but certainly not C++.
--- Robert Ryan <[EMAIL PROTECTED]> wrote:
> i was using unix, or as I know it,
> interactive.............I will try it in Visual C++
> tomorrow.
> is it true that unix is also called linux
> why would it be not legal in C++
>
> "Victor A. Wagner Jr." <[EMAIL PROTECTED]> wrote:
> 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"
>
>
>
>
>
>
> ---------------------------------
> Never Miss an Email
> Stay connected with Yahoo! Mail on your mobile. Get
started!
_________________
Joseph A. Marrero
http://www.l33tprogrammer.com/
____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL