Sort by bubble numbers

Affiliates: 0,7 $ — how to earn
Pay with:
i agree with "Terms for Customers"
Sold: 0
Refunds: 0

Uploaded: 15.01.2009
Content: project_sort.rar (42,96 kB)
Loyalty discount! If the total amount of your purchases from the seller NewSS more than:
50 $the discount is10%
15 $the discount is5%
5 $the discount is1%
If you want to know your discount rate, please provide your email:

Description

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

}

};

Additional information

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 <count_element; i ++) {
cout << "data [" << i << "] =";
cin >> tmp;
cl.add (tmp);
}
cout << endl;
// Sort (false - descending, true - ascending)
cl.sort (false);
cout << endl;
return 0;
}

Feedback

0
No feedback yet.
Period
1 month 3 months 12 months
0 0 0
0 0 0
In order to counter copyright infringement and property rights, we ask you to immediately inform us at support@plati.market the fact of such violations and to provide us with reliable information confirming your copyrights or rights of ownership. Email must contain your contact information (name, phone number, etc.)