Note: Version of Pong had to be taken down to legal issues with the graphics package. I should be releasing my own version sometime soon! Be patient. Thank you. I finally got around to finish my version of Pong. It isn’t true to the original game, but resembles it somewhat in game play. This isn’t Full Article…
Game Source Available
Just wanted to keep everyone up to date and let you all know that the source code for the Piranha Plant, Wario, and Coin Game has been posted to the forums. Go ahead and give it a try, it will be a great experience to see what was put into making that simple game. Make Full Article…
Command Line Arguments
Command Line Arguments allow the user to run the program thruogh the terminal as well as pass in arguments into your program in one line. Most common use of command line arguments, are to pass in “strings” that represent file names from which you are going to read data from. Format of Command Line Arguments Full Article…
Advanced Control Flow – The Do While Loop
The Do While Loop is a loop that guarantees execution of the statements within the loop at least once. The structure of the Do While Loop Below is the structure: do { //statements } while ( condition(s) ) ; What is this useful for? In order to execute a set of commands at least once.
Introduction to Functions
Functions allow you to perform the same operation on many inputs with one simple call. Why a function anyways? First of all, let’s see how we’d perform a certain task without one. How would we print out the entire contents of a vector each time we modified it? Let’s show how we would do it Full Article…
Simple Data Structure – The Vector
The vector is a simple data structure that allows you to store values with the same data type in one container. Introduction Without the use of a data structure, how would you store multiple variables? Let’s say we wanted to store 5 names into strings. How would this be done? string name1,name2,name3,name4,name5; cin >> name1 Full Article…
Advanced Control Flow – While Loop
Introducing the while loop with an example and several exercises. Meant for beginners.
