I have a char vector with text in it.
I'd like to split it into strings at every new line.
Is it better to assign the vector to a string first or is there a function that can do this with the vector?
I have a char vector with text in it.
I'd like to split it into strings at every new line.
Is it better to assign the vector to a string first or is there a function that can do this with the vector?
Using Windows 10 with Code Blocks and MingW.