C++ || Snippet – How To Display The Current Working Directory

The following is sample code which demonstrates how to display the current working directory of the program when its properties were initialized. If you are a system admin, this has a similar More »

C++ || Snippet – How To Convert A Decimal Number Into Binary

This page will demonstrate how to convert a decimal number (i.e a whole number) into its binary equivalent. So for example, if the decimal number of 26 was entered into the program, More »

C++ || Simple Spell Checker Using A Hash Table

The following is another programming assignment which was presented in a C++ Data Structures course. This assignment was used to gain more experience using hash tables. REQUIRED KNOWLEDGE FOR THIS PROGRAM Hash More »

C++ || Custom Template Hash Table With Iterator Using Separate Chaining

Before we get into the code, what is a Hash Table? Simply put, a Hash Table is a data structure used to implement an associative array; one that can map unique “keys” More »

Java || Snippet – How To Do Simple Math Using Integer Arrays

This page will consist of simple programs which demonstrate the process of doing simple math with numbers that are stored in an integer array. REQUIRED KNOWLEDGE FOR THIS SNIPPET Integer Arrays The More »

 

C++ || Snippet – How To Display The Current Working Directory

The following is sample code which demonstrates how to display the current working directory of the program when its properties were initialized. If you are

C++ || Snippet – How To Convert A Decimal Number Into Binary

This page will demonstrate how to convert a decimal number (i.e a whole number) into its binary equivalent. So for example, if the decimal number

C++ || Simple Spell Checker Using A Hash Table

The following is another programming assignment which was presented in a C++ Data Structures course. This assignment was used to gain more experience using hash

C++ || Custom Template Hash Table With Iterator Using Separate Chaining

Before we get into the code, what is a Hash Table? Simply put, a Hash Table is a data structure used to implement an associative

Java || Snippet – How To Do Simple Math Using Integer Arrays

This page will consist of simple programs which demonstrate the process of doing simple math with numbers that are stored in an integer array. REQUIRED

Java || Snippet – How To Read & Write Data From A File

This page will consist of a demonstration of a simple quadratic formula program, which highlights the use of the input/output mechanisms of manipulating a text

Java || Snippet – How To Find The Highest & Lowest Numbers Contained In An Integer Array

This page will consist of a simple demonstration for finding the highest and lowest numbers contained in an integer array. REQUIRED KNOWLEDGE FOR THIS SNIPPET

Java || Snippet – How To Input Numbers Into An Integer Array & Display Its Contents Back To User

This snippet demonstrates how to place numbers into an integer array. It also shows how to display the contents of the array back to the

Java || Modulus – Celsius To Fahrenheit Conversion Displaying Degrees Divisible By 10 Using Modulus

This page will consist of two simple programs which demonstrate the use of the modulus operator (%). REQUIRED KNOWLEDGE FOR THIS PROGRAM Modulus Do/While Loop

Java || Random Number Guessing Game Using Random & Do/While Loop

This is a simple guessing game, which demonstrates the use of the “Random” class to generate random numbers. This program first prompts the user to

C++ || Snippet – Simple Linked List Using Delete, Insert, & Display Functions

The following is sample code for a simple linked list, which implements the following functions: “Delete, Insert, and Display.” The sample code provided on this

C++ || Snippet – Custom Template Linked List Sample Code

This page will consist of sample code for a singly linked list, which is loosely based on the built in C++ “List” library. Provided in

C++ || Snippet – How To Swap Two Numbers Without Using A Third “Temporary” Variable

The following are three programs which demonstrates how to swap two numbers without using a third “temporary” variable. Why would anyone want to swap two

C++ || Snippet – Palindrome Checker Using A Stack & Queue

This page consists of a sample program which demonstrates how to use a stack and a queue to test for a palindrome. This program is