I am trying out Sun’s Virtual Box this term. I’m going to be doing a fair amount of development in C and C++ which means using gcc on Ubuntu. I’m pretty invested in the software on my Windows 7 laptop and yes, I’ve got Cygwin, but I prefer working with C and C++ on Ubuntu. [...]
Java’s SortedSet interface and the classes that implement it (like TreeSet) will store a collection of objects that are sortable. In order to make a class sortable so that we can store it in a sorted collection, we have two choices: the sorted class can implement the Comparable interface we can pass a Comparator to [...]
The Lego MindStorms NXT Brick is controlled by a pair of Atmel microcontrollers: Atmel 32-bit ARM processor, AT91SAM7S256 Atmel 8-bit AVR processor, ATmega48 The AT91SAM7S256 is part of an Atmel series of low pin-count Flash microcontrollers based on the 32-bit ARM7DMI ARM Thumb RISC processor. It features: a maximum clock speed of 55 MHz (48 [...]
Description A simple command prompt calculator that uses Reverse Polish Notation. In Reverse Polish Notation the operators follow their operands; for instance, to add three and four, one would write “3 4 +” rather than “3 + 4″. If there are multiple operations, the operator is given immediately after its second operand; so the expression [...]
Description A program that tells the user if a parity-encoded word is valid or not, and if a Hamming codeword is valid or not. A parity-encoded word is a series of binary digits (zero or one) where the left most digit is either a zero or one depending on the type of parity being used [...]