i have a few questions.: 1)if i wanted to write a line of code needed to declare a 1-dimensional array named names that can hold 8 string values would this be correct?: char names;
2)how would i write the code needed to assign strings to each element of the array names from question 1) above? how would i use a loop to ask the user for the name & assign it to the element?
3)if i wanted to write the line of code needed to declare a vector named myList that can initially hold 5 integer values would this be correct?
4)how would i write the line of code to assign 18 to the 6th element of the myList vector from question 3) above...that is 1 past the initial number of elements set for myList?