what im trying to do is read in a data from a file into 4 different arrays then also read in the same data using array of structs. the assignment is to show that we know how to use both methods of reading in and sorting the data. i have 3 functions for the arrays (for reading in the arrays, sorting the arrays, then printing) and same for the struct. but when i go to call the array funtions they work then i call the 3 struct functions but they dont work. if i comment out all the array functions and leave just the struct calls it works perfectly. i just cant get it to call both the array functions and the struct functions right after each other.
Nyx18 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Nyx18 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.