Sorting algorithms/Bubble sort: Difference between revisions

Content added Content deleted
m (Regex-replace from some BOLDed tags to the new 'Works with' tags / Basic, D)
m (Missed a few works with's)
Line 17: Line 17:


=={{header|Ada}}==
=={{header|Ada}}==
'''Compiler:''' GCC 4.1.2
{{works with|GCC|4.1.2}}


generic
generic
Line 102: Line 102:


=={{header|BASIC}}==
=={{header|BASIC}}==
{{works with|QuickBasic| 4.5}}
{{works with|QuickBasic|4.5}}


Assume numbers are in a DIM of size "size" called "nums".
Assume numbers are in a DIM of size "size" called "nums".
Line 140: Line 140:


=={{header|C++}}==
=={{header|C++}}==
'''Compiler:''' g++ 4.0.2
{{works with|g++|4.0.2}}


#include <iostream>
#include <iostream>
Line 211: Line 211:
=={{header|D}}==
=={{header|D}}==


{{works with|DMD| 1.025}}
{{works with|DMD|1.025}}

module BubbleSort;
module BubbleSort;