C++ Sorting Methods

The Bubble Sort Implementation: Beginner Description: The bubble sort is one of the simplest methods you can use. This method works well for simple data structures or if the data set to be sorted is more or less sorted. The bubble sort is very inefficient for a general data set. In the bubble sort algorithm, successive sweeps are made through the records to be sorted. During each sweep, the algorithm compares the key to the elements and swaps the elements if they are not in the desired order. Swapping occurs only among consecutive elements of...

read more

PHP Basics

PHP is a server side scripting language that makes it easy to create dynamic websites. The code is similar to Java and C++ so if you know one or both of these languages you should be able to pick up PHP fairly easily. To use PHP you must either upload your site to a server that supports PHP or set up your own server. Unless you have a fast internet connection uploading your files for testing all the time will most likely not be a very good option for you. A good option is to have your own server on your local workstation. The best way to do...

read more