The vector

If elements are stored in a container, these can be retrieved by the vector or iterator and output individually. The container is not a command but a method. The output itself, however, is a command which calls every stored element. Though an algorithm decides what to do only the iterator or vector has got direct contact to the elements of a container.

A class holds the method and its data types. Exact values are delivered by the main program which calls this class.

The website typundzahl.de uses cookies!