It's easy.. I am not familiar with linked lists... and for my wife to use the program, it is easier to set up her data to be used with arrays.
Type: Posts; User: Fuzzyman81
It's easy.. I am not familiar with linked lists... and for my wife to use the program, it is easier to set up her data to be used with arrays.
Someone please help if you have any idea.. I have been racking my brain all night... and all I have gotten is a headache.
Ryan
This is what I have so far for code. I am trying to read the file.. that contains data that looks like this.
Std# T1 T2 T3 T4 T5
1234 54 65 44 44 78
4561 78 78 87 87 ...
I am trying to do a bubble sort of my data. However since my data is 2 seperate arrays when it sorts the test score data I need to implement something that will switch their ID#'s when it swaps the...
i am still having some problems with getting my arrays filled.
I have to read a file and make an array for STD #'s and then one that has their test scores.
In the File the data looks like..
...
Ok.. as I thought.. if is still not working for the test data. It is reading the StdNum into that array.. so how would i ignore the first column of data..
Std Num T1 T2 T3 T4 T5
1234 ...
Thank you both for your help.. i seem to have things working with that part. Though I may be back later to ask something else, because i think when i go to read the test data it is still adding in...
i have set the limit for students to be 40, but I do not know exactly how many there will be. so does that change anything? Otherwise I think that will work Garfield. Thank you.
Salem,
Thanks for that.. that is the part I understand. But to get the data into the array, I have to read it from a text file. I know how to read a file and get data into it, but I can't get it...
I am having a problem desining a program that uses Arrays. I have to be able to read a file and put the date into seperate arrays. basically the data is student umbers and their test scores. the...