Hello again guys,
I am trying to sort an array. First i must get the info from a txt file. The txt file has numbers and the only way i can put them into an array is to put them into a char array. Now my problem is i need that to be a string not a char. I am very lost :(
char numbers[100];
while(!infile.eof()){
infile.getline(numbers,100);
}
the numbers in the txt file are as long as 10,000 per line. The char string doesn't pick up on that. I don't know what to do :( can anybody shed some light on this topic? Thanks!