Skip to content

Instantly share code, notes, and snippets.

@debashish-ghosh
Created January 30, 2022 10:04
Show Gist options
  • Select an option

  • Save debashish-ghosh/e7777b129ab59cbcac035e6c2d15835a to your computer and use it in GitHub Desktop.

Select an option

Save debashish-ghosh/e7777b129ab59cbcac035e6c2d15835a to your computer and use it in GitHub Desktop.
Range-based for-loop example
vector v{1, 2, 3, 4, 5};
for (auto &e : v)
cout << e << endl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment