2 Dimensions are Better than 1, right?

Many problems deal with more than single dimensional data.  At the risk of beating the grade example to pieces, think about the idea of a class having 20 students and 4 exam grades for a semester.  Would it be possible to model this scenario with a … [Continue reading]

Arrays – A Ray of Sunshine for your Programs

Arrays are a foundational data structure in many programming languages, especially those that come from the same genre as c++.  However, different languages treat arrays different, meaning that they have different "features". … [Continue reading]

Design before Coding

In the "real world", it is a rare occurrence that a developer encounters a problem and starts to solve that problem with a blank project.  Often times, a dev is working as part of a much larger contingent of folks on a much more massive software … [Continue reading]

Fun Times with File I/O in C++

You use files every day; don't deny it!  From the perspective of a program that you may write, a file is a way to have persistent storage.  What I mean by this is that the data you put in the file persists beyond the execution of the program.  So, if … [Continue reading]

More of Functions in C++

There are a few things that aren't really covered in the Overland text related to functions - at least not in chapter 5 - that are very important to understand. As a note, I very (very very very) frequently use different terminology for the … [Continue reading]

Make it Function: Chapter 5 of Overland

In many ways, functions are the basic unit of work in a c++ program.  Every program that we write will have at least one function - the main function.  From Chapter 5, you can skip (or skim) the following stuff: Section 5.6 - Variable-length … [Continue reading]

Control Yourself: Chapter 4 of Overland

Control structures are at the core of programming.  As the name implies, they are the basic building blocks of controlling the computer.  By control structures, we typically include conditional constructs and looping or iteration constructs.  One … [Continue reading]

More c++ for u++: Chapter 2 and 3 of Overland

Some important take-aways from Overland: Chapter 2 Some of the c++ features that are covered in chapter 2 are part of the new C++ 11 standard.  Note that if you don't have the most up-to-date compiler installed, some of the examples may not work … [Continue reading]

C++ Introduction

Intro to C++ C++ shares quite a few similarities with Java and other languages such as Python. It is a complex language with a very robust set of standard libraries.  But, we'll start small and easy. C++ is a general-purpose programming language … [Continue reading]

Programming Concepts – Getting Started

Before Monday's Class (6/2), please do the following: Set up your Development Environment Make sure you've purchased your subscription to O'Reilly Safari.  See the Syllabus for more information.  You need to add the two books listed on the … [Continue reading]