Help with listing numbers in order
Hi all,
Can someone help me or show me a tutorial for listing numbers
kinda like a league table,
for example,
team1 49
team2 40
team3 38
team4 36
Etc,
I have already setup how to work out the points, the only thing im
struggling with is how to list them like above....
Any help would be great.
Chers Guys
Boontune
Re: Help with listing numbers in order
Until you post some more details, here's my suggestion:
Code:
cout << "team1 49" << endl
<< "team2 40" << endl
<< "team3 38" << endl
<< "team4 36" << endl;
I do believe the above code is the simplest solution to your problem:p
Seriously though, tell us some more so we can help.