[cs13001] Vectors

Mikhail Nesterenko mikhail at cs.kent.edu
Sun Nov 18 20:36:34 EST 2012


> 
> Hey Pr.Nesterenko,
> 
> I was wondering, in the line items.at(5)  does it mean the 5th element of the array? Or the 6th?

It is the 6th element of the array "items". We'll address the
difference between indexing (square brackets) and at() function once
we study exceptions. Otherwise, they are equivalent.

Thanks,
-- 
Mikhail


More information about the cs13001 mailing list