Archive for February 10th, 2008
Bubble Sort [C++]
I’m working on my second C++ program. Baby steps here, as I am merely trying to implement a simple and dirty sort.This morning I wrote this out in longhand, and I haven’t debugged it or tried compiling it.
#include <iostream>
namespace std;
int sort[] = [10, 2, 8, 4, 6, 0];
int i, x, y, z;
int main() {
[ READ MORE ]