[CSI] vectors at

Mikhail Nesterenko mikhail at cs.kent.edu
Tue Dec 6 14:57:45 EST 2022


CSI students,

Vectors indeed have at operation that is equivalent to indexing
operator but throws out_of_range exception if the index is out of
range.

Here is more details: 

  https://cplusplus.com/reference/vector/vector/at/

Thanks,
-- 
Mikhail


More information about the cs13001 mailing list