DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
taking user input for a vector in c++
vector<int> g1; for(i=0;i<n;i++) { cin>>a; g1.push_back(a); }
PREVIOUS
NEXT
Tagged:
#user
#input
#vector
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit