Archive | Programming RSS feed for this section
linuxhacks

Linux 101 Hacks – Free e-book

Slickdeals never fails to amaze me. Today is a deal from The Geek Store offering a free download of their ebook Linux 101 Hacks. Simply go here and enter linuxrocks. Linux 101 Hacks An excerpt from the book… There are a total of 101 hacks in this book that will help you build a strong [...]

Read more
smlnj

Start programming in ML

ML is a functional programming language. Features include type inference, first class functions, garbage collection, pattern matching, parametric polymorphism, static typing, exception handling, call-by-value evaluation strategy, and algebraic data types. – Source Examples of functions in ML Below are examples to get you familiar in ML. Syntax and how the language works will be explained [...]

Read more

Insertion Sort Implementation in C++ [Sorting Algorithms]

Insertion Sort is sorting algorithm similar to Bubble Sort simply because they are basic sorting algorithms. The difference, is that Insertion Sort iterates through the data structure selects an element and inserts it into its correct location until no elements are left to sort. Insertion Sort Visual Example 26 5 12 -6 First Iteration The [...]

Read more
kongregate01

Kongregate Labs teaches how to make flash games

Ever wondered how to make a video game and put it online? Talk Binary recently posted how to Create Pong in C++ but Kongregate is showing you through a series of “Shooturioals” how to make a flash game so you can post it online! Making an online flash game So how does Kongregate go on [...]

Read more

Binary Search in C++

Binary Search is a method to search through a sorted container in order to find a particular value. Remember that one “Guess the Number” game? Let’s look at the following scenario by applying the Binary Search algorithm in order for you to understand how Binary Search works. The Guessing Game Pick a number from 0 [...]

Read more

Bubble Sort C++

Bubble Sort Algorithm Bubble sort is the most primitive sorting algorithm. It simply iterates through a list and compares two elements and swaps them to put them in order. It repeats this process until no more swaps are made. Why Bubble Sort you may ask? You can think of the algorithm as “bubbling” the largest [...]

Read more
fib

Fibonacci in C++

Fibonacci is a well known number sequence that models the growth of a rabbit population amongst other things found in nature. The Fibonacci Numbers Sequence Below is the Fibonacci numbers computed up to the 11th term. 0 1 2 3 4 5 6 7 8 9 10 11 0 1 1 2 3 5 8 [...]

Read more