Sort by bubble numbers

If the total amount of your purchases from the seller NewSS more than:
- 4589 ₽ the discount is 10%
- 1377 ₽ the discount is 5%
- 459 ₽ the discount is 1%

Sold 0
Refunds 0
Good feedbacks 0
Bad feedbacks 0

Sort numbers by the bubble. By purchasing this design you get the full source code of the project by the bubble sort numbers in the studio VC 6.


API description of the class sorting


class sorting {

private:

private variables


void show (int * buff) {

code block output of sorted numbers

}


public:

sorting (int count) {

initialization code of the object

}


void add (int num) {

Code to add a new element

}


false - descending; true - ascending;

bool sort (bool on_sort) {

a block of code to sort the numbers

...

deduce the number of sorted

show (tmp);

return true;

}


sorting () {

class destructor code

}

};

Code of int main () {...}

int main ()
{
// Number of elements
int count_element = 5;
// Create a variable
sorting cl (count_element);
int tmp;
cout << "No sorting list array:" << endl;
// Enter the numbers in the array (input to count_element)
for (int i = 0; i