D
desktop
Is the bucket sort container/algorithm built in somewhere in the C++ std
or do I have to implement it myself?
or do I have to implement it myself?
desktop said:Is the bucket sort container/algorithm built in somewhere in the C++
std or do I have to implement it myself?
Victor said:desktop said:Is the bucket sort container/algorithm built in somewhere in the C++
std or do I have to implement it myself?
There is no bubble sort either. And no Shell sort. And no merge sort.
Actually, come to think of it, only Quick sort is identified, and it's
in the C++ library because it's in the C library. The C++ Standard
does not specify what kind of sort algorithm is used for std::sort,
std::stable_sort, and std:artial_sort[_copy].
V
desktop said:Victor said:desktop said:Is the bucket sort container/algorithm built in somewhere in the C++
std or do I have to implement it myself?
There is no bubble sort either. And no Shell sort. And no merge
sort. Actually, come to think of it, only Quick sort is identified,
and it's in the C++ library because it's in the C library. The C++
Standard does not specify what kind of sort algorithm is used for
std::sort, std::stable_sort, and std:artial_sort[_copy].
V
Ok I have found it here:
http://www.codecogs.com/cog-1
but I am not sure of the quality of the code from this place and it
seems that its not downloadable like boost or other quality
expansions.
Any experience with codecogs?
Victor said:desktop said:Ok I have found it here:Victor said:desktop wrote:
Is the bucket sort container/algorithm built in somewhere in the C++
std or do I have to implement it myself?
There is no bubble sort either. And no Shell sort. And no merge
sort. Actually, come to think of it, only Quick sort is identified,
and it's in the C++ library because it's in the C library. The C++
Standard does not specify what kind of sort algorithm is used for
std::sort, std::stable_sort, and std:artial_sort[_copy].
V
http://www.codecogs.com/cog-1
but I am not sure of the quality of the code from this place and it
seems that its not downloadable like boost or other quality
expansions.
Any experience with codecogs?
Nope. I am a programmer, not a downloader/integrator. I use books
and other publications to learn the algorithms which I then implement
[and often modify] to suit our team's needs.
V
A quick google search indicates that the NIST website has a bucketVictor said:desktop said:Victor Bazarov wrote:
desktop wrote:
Is the bucket sort container/algorithm built in somewhere in the C++
std or do I have to implement it myself?
There is no bubble sort either. And no Shell sort. And no merge
sort. Actually, come to think of it, only Quick sort is identified,
and it's in the C++ library because it's in the C library. The C++
Standard does not specify what kind of sort algorithm is used for
std::sort, std::stable_sort, and std:artial_sort[_copy].
V
Ok I have found it here:
http://www.codecogs.com/cog-1
but I am not sure of the quality of the code from this place and it
seems that its not downloadable like boost or other quality
expansions.
Any experience with codecogs?Nope. I am a programmer, not a downloader/integrator. I use books
and other publications to learn the algorithms which I then implement
[and often modify] to suit our team's needs.
In that case can you recommend a good book on data structures/algorithms
for C++?
I already have Sedegewicks 2 books for C and Thomas H Cormens
Introduction to Algorithms but would like to find something specific for
C++ with code samples.- Hide quoted text -
- Show quoted text -
Victor said:There is no bubble sort either. And no Shell sort. And no merge
sort. Actually, come to think of it, only Quick sort is identified,
and it's in the C++ library because it's in the C library.
desktop said:Victor said:[..] I am a programmer, not a downloader/integrator. I use books
and other publications to learn the algorithms which I then implement
[and often modify] to suit our team's needs.
V
In that case can you recommend a good book on data
structures/algorithms for C++?
I already have Sedegewicks 2 books for C and Thomas H Cormens
Introduction to Algorithms but would like to find something specific
for C++ with code samples.
Default said:Nope. The qsort() function doesn't specify a sorting algorithm.
There is no bubble sort either. And no Shell sort. And no merge sort.
Actually, come to think of it, only Quick sort is identified, and it's
in the C++ library because it's in the C library. The C++ Standard
does not specify what kind of sort algorithm is used for std::sort,
std::stable_sort, and std:artial_sort[_copy].
Victor Bazarov said:If you want to develop/grow as a programmer, you don't need code
samples.
Ole said:Are you serious?
We got from http://www.biopix.dk/Photo.asp?Language=da&PhotoId=10118
to
http://content.techrepublic.com.com/2347-10877_11-32968-32969.html?seq=1
by learning from the doings of others.
But who cares - it's just the same old silicon.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.