Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Halp plz, C++

Name: Anonymous 2007-11-28 10:39

Hi /prog/, I have a problem...

I'm a noob at C++ (I learned it at school, so, yeah...) and I've got to make a program, which I find pretty difficult. i'm coming here seeking your help because I NEED a good grade if I want to validate my semester, and programming is highly coefficiented, so if you don't help me, i'm pretty much fucked...

So here's the deal:

Make a program which allows the input of a serie of integers and stocks them in a table, then display the table as it is and then display the table with the numbers sorted out in growing order...

I am a total noob at C (as I already mentioned) and I have no fucking clue about how to do this kind of shit.

So your help would be really, really, REALLY appreciated...
Pretty please?

Name: Anonymous 2007-11-28 17:18

>>1
If I were you I wouldn't insult >>2, the answer he gave you was very helpful. Now, stop being brain-atrophied and learn how to think by yourself.

I am a total noob at C (as I already mentioned) and I have no fucking clue about how to do this kind of shit.

DA TEACHAR DIDN TEL ME HOW 2 DU DIS BUT I NO TEH TEORI TO LURN BY MYSELF OW 2 DO IT

how to sort arrays in a simple way for retarded dumbfucks :
Make an other array(newarray)
Get the biggest value of the array
in a loop in which i is the count, starts at 0 and stops when i is not smaller than the length of the array
{
Get the smallest value of the array and put it in newarray[i] then set array[i] to a bigger value than the biggest one
}
and return the new array

I just did everything for you, faggot.

http://en.wikipedia.org/wiki/Quicksort
http://en.wikipedia.org/wiki/Bubble_sort
http://en.wikipedia.org/wiki/Selection_sort

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List