Just trying to print out one line for a spreadsheet where I will eventually have five.Getting error: no match for 'operator<<' in 'std::cout << rowOne'
I think in your print function you mean to use someRow instead of rowOne. In any case, the reason for the error is that cout cannot print a vector. You will have to manually iterate through and print each value yourself.
Hmm using rowOne should still work, ain't it? The vector has been declared globally...
CRBottini, you should declare your vector in main(), or else it's quite pointless to pass it to your print function as rowOne. It's good programming practice to avoid using global variables too.
Thanks Guys, big help. Now I am trying to get labels for the rows and colums. Numbers for the rows, letters for the columns. kind of like how excel does it. Put in bold what I added to the code. Getting some errors. Do not even know if i'm taking the right steps.