Question: Can someone help me convert this to c++ and instead of using and array of 12 elements, use a vector of 12 elements? Creates a
Can someone help me convert this to c++ and instead of using and array of 12 elements, use a vector of 12 elements?

Creates a new NameSurferEntry from a data 1ine as it appears in the data file. Each line begins with the name, which is followed by integers giving the rank of that name for each *decade. o g public NameSurferEntry (String line) { String] splitResult - new String[12]; 1/ 12 elements including the name splitResult -line.split(" "); name splitResult[e]; for (int i-1; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
