Tag: STL
code: #include<iostream> #include<cstdio> using namespace std; int main() { int n,flag=0; cin>>n; int a[n]; for(int i=0; i<n;…
#include<vector> #include<iostream> using namespace std; int main() { vector<string> list; cout<<“Please enter the names, press Q to…
https://tanvir002700.wordpress.com/2016/04/15/c-stl-tricks1/
Vector Codes: #include<iostream> #include<cstdio> #include<vector> using namespace std; int main(){ vector<int> v; v.push_back(1); v.push_back(2); v.push_back(3); v.push_back(4); for(int…
Recent Comments