i need to set up an array for a skatepark. so i would set it up as a blank array skatepark and i would set up a read in a do/while loop for a user to enter the data, until all of the skateparks where in then i would sort them alphbetically. i could do that all easily but the problem that gets me is for each skatepark there needs to be the county its located in and also 2-5 things there( rail, halfpipe, quartpipe, box, etc....) so for each skatepark in the array i would need those qualifications to go along with said skatepark. this is where i am confused because i read aimless info into an array but i dont know how i would get a skatepark to hold onto the location and objects in them, when i would have multiple skateparks in my array also
Re: advanced array
It's time for another little class: SkatePark; it holds all the information you described and you'd simply have an array of type SkatePark (or even better, have a List<SkatePark>). You have some stydying to do.
Originally Posted by joedirt819