cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Assaign a vector to a vector?
Assaign a vector to a vector?
Feb 17, 2013 at 11:49am UTC
shandymilo
(2)
I want to create a grading program that the user inputs a name and then on that value (name) there is a vector of doubles to represent his/her mark and then calculates an average how would I go about doing this?
Feb 17, 2013 at 12:08pm UTC
MiiNiPaa
(8886)
You can use
map<string, vector<
double
>>
http://cplusplus.com/reference/map/map/
Last edited on
Feb 17, 2013 at 12:09pm UTC
Topic archived. No new replies allowed.