Skip to content

Instantly share code, notes, and snippets.

@ampulhetadosaber
Last active August 26, 2020 23:52
Show Gist options
  • Save ampulhetadosaber/28cb346603056f0994299cb744ccf465 to your computer and use it in GitHub Desktop.
Save ampulhetadosaber/28cb346603056f0994299cb744ccf465 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.front() << "\n";
// imprimimos o primeiro elemento de I, no caso 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment