i want the code for sorting tecqnics....plz let me find a simple code

Link

>>plz let me find a simple code
Bubble sort algorithm is as simple as it gets when you have to write your own algorithm. Otherwise you can just use std::sort() that's found in <algorithm> header file.

Look in the "number puzzle" thread. My last post has a very simple sort in it. (near the bottom of the program).

@AD: What forum are we in -- std::sort ?? ;)

>>@AD: What forum are we in -- std::sort ??

Oops! My bad, I have a habit of confusing c and c++ forums. I had one of those senior moments of memory lapse :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.