need help

can somebody help me in making this C++ program...im really confuse on how this void stuff work and also the reference parameter...dont have any ideas how do do about it....here's the link
http://www.cs.panam.edu/~pstsai/Courses/0Fall2007/CMPE/HWs/as5-1370.pdf
[274 byte] By [itchoy] at [2007-11-20 11:52:41]
# 1 Re: need help
http://www.macs.hw.ac.uk/~alison/ds98/node11.html

Or look at anything else you find when you Google "call by reference".
Lindley at 2007-11-11 4:02:27 >
# 2 Re: need help
and also it there any way you can give me a simple code to arrange the numbers from smallest to biggest?
itchoy at 2007-11-11 4:03:30 >
# 3 Re: need help
and also it there any way you can give me a simple code to arrange the numbers from smallest to biggest?

Nobody here is going to do your homework for you.
GCDEF at 2007-11-11 4:04:28 >
# 4 Re: need help
im just want to know how to do the arranging stuff work...i need the code...pls :)
itchoy at 2007-11-11 4:05:29 >
# 5 Re: need help
im just want to know how to do the arranging stuff work...i need the code...pls :)

Once gain, Nobody here is going to do your homework for you.

If you are not sure how to do it, how would just do it by hand? write down every single step in detail of how you would do it on paper, and it will be a lot more clear how to do it in code.
bovinedragon at 2007-11-11 4:06:39 >
# 6 Re: need help
To be fair, there are a lot of different sorting algorithms, some much better than others. I'd lay odds the way one would do it by hand is not via quicksort.

What sorting algorithms has your teacher introduced you to so far?
Lindley at 2007-11-11 4:07:34 >