Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Latest commit

 

History

History
14 lines (12 loc) · 362 Bytes

begin.md

File metadata and controls

14 lines (12 loc) · 362 Bytes

begin

Description :

  • Returns an iterator pointing to the first element in the vector.

Example:

	// Iterate over myVector using iterators
	for (auto it = myVector.begin(); it != myVector.end(); it++) {
	    std::cout << *it << " ";
	}

See Sample code Run Code