firstly since you have declared your array as a[2][13] this means that you have only two 1d arrays that can individually hold upto 13 elements and...
There is no difference between pointer to a function and function pointer they both mean the same thing. eg. void (*funcptr)(int a , int b)...
since linesnames returns a vector of type string you should declare spamcontents as vector< vector<string> > since spamcontent is going to hold a...
Separate names with a comma.