Skip to content

Instantly share code, notes, and snippets.

@ampulhetadosaber
Last active August 26, 2020 23:52
Show Gist options
  • Save ampulhetadosaber/8ea155612bd1b196cd72abaf3e40b006 to your computer and use it in GitHub Desktop.
Save ampulhetadosaber/8ea155612bd1b196cd72abaf3e40b006 to your computer and use it in GitHub Desktop.
vector<int> I;
I.push_back(10);
I.push_back(17);
I.push_back(0);
I.push_back(-15);
cout << I.size() << "\n";
// imprimo na tela o tamanho de I, no caso 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment