Standard Library arrays

The C+ Standard Library provides two containers that give random access via an indexer to the data. These two containers also allow you to access the underlying memory and since they guarantee to store the items sequentially and contiguous in memory, they can be used when you are required to provide a pointer to a buffer. These two types are both templates, which means that you can use them to hold built-in and custom types. These two collection classes are array and vector.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset