Archive

Archive for the ‘dev-C++’ Category

dev-C++: Bank Queue Simulation using Graphic

September 8th, 2010

Again, I’m not good in C++. Yet I managed to finish my assignment in Advanced Data Structure for MIT. As required, I need to use graphic.h and struct (structure type variables) in dev-C++ to create Bank Queue Simulation.

theBank Sim Screenshot

theBank Sim Screenshot

Here’s the Demo Executable file: theBank Simulation (14)

Source Code: [Soon... :P ]

Camilo III Info.Tech, Software Development, dev-C++

Algorithm: Graphic Sort

August 8th, 2010
Comments Off

Graphic Sort

Graphic Sort

Today, I created different kinds of sorting.

  1. Bubble sort
  2. Selection sort
  3. Insertion sort
  4. Quick sort

Yet, my Quick sort does not work properly… And I have 6 more sorting method to go… :(

Download: Graphic Sorting (22) (demo executable file)

Download Source Code: Sooooooon… :P

Thanks to: http://www.cs.oswego.edu/~mohammad/classes/csc241/samples/sort/Sort2-E.html

Camilo III Info.Tech, Software Development, dev-C++

dev-C++ : Bubble Sort with Graphic Plotting

July 24th, 2010
Comments Off

I’m having difficulties in creating good programming algorithm with C++. I find its very difficult. Somehow, I would like to share my accomplishment in creating this program, Bubble Sort with Graphic Plotting. But first, what is bubble sort?

Bubble sort is a simple sorting algorithm. It works by repeatedly stepping through the list to be sorted, comparing each pair of adjacent items and swapping them if they are in the wrong order. The pass through the list is repeated until no swaps are needed, which indicates that the list is sorted. The algorithm gets its name from the way smaller elements “bubble” to the top of the list. Because it only uses comparisons to operate on elements, it is a comparison sort.

Below is the demo, source codes and libraries needed…

If you have better algorithm solutions, if you don’t mind, can you email it to me… Like to see how others solve the problem.

Camilo III Info.Tech, Software Development, dev-C++