Hi there,
I need to change columns to rows and vice-versa.
Example:
1001 AA AB AC AD
1002 CC DD EE FF
1003 AA BB CC CC
1004 DD DD DD DD
to
1001 1002 1003 1004
AA CC AA DD
AB DD BB DD
AC EE CC DD
AD FF CC DD
What is the best manner to do this? Matrix or using "getline()" and take element by element using a vector?
Anyone has a simple example for that?
Thanks a lot!