hi, I have been writing a football tournament simulator and I am almost done, however i need to some how sort the teams after a round the put the teams that progress into the next round. The data of the teams is held in structures and have a boolean vale, progress, which should be false unless your team progresses. I have 8 teams and I need to find the top 4, I have the code in place to change the booleans to true or false but I now need a way to send these teams into a function without a huge block of if statements. Any ideas would be much appreciated.
Cheers
Dan