F
Franky, Mondestin
Problem description:
I have a text file with 700 lines. Each line has 7 elements separated by
comma. My text file looks something like :
a,b,c,d,e,f,g
d,e,h,k,l,m,n
x,c,v,f,g,t,z
.... and so on
Help needed
I'd like to read this file, place it in an array, sort the array by the
second element of each line using insertion sorting, and pass the sorted
array to a class object that will do some other stuff on it.
Any help guys would be appreciated.
Thanks
I have a text file with 700 lines. Each line has 7 elements separated by
comma. My text file looks something like :
a,b,c,d,e,f,g
d,e,h,k,l,m,n
x,c,v,f,g,t,z
.... and so on
Help needed
I'd like to read this file, place it in an array, sort the array by the
second element of each line using insertion sorting, and pass the sorted
array to a class object that will do some other stuff on it.
Any help guys would be appreciated.
Thanks