Category Archives: C++

C++ || Snippet – How To Read & Write Data From A User Specified Text File

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

C++ || 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

C++ || 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

C++ || 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

C++ || Display Today’s Date Using a Switch

If statements, char’s and strings have been previously discussed, and this page will be more of the same. This program will demonstrate

C++ || Using If Statements, Char & String Variables

As previously mentioned, you can use the “int/float/double” data type to store numbers. But what if you want to store letters? Char

C++ || Simple Math Using Integer & Double

This page will display the use of int and double data types. ==== ADDING TWO NUMBERS TOGETHER ==== To add two numbers

C++ || Hello World!

This page will consist of creating the typical “hello world!” application. First, you will need to create a blank project. I am

C++ || Creating a Blank Project in Visual C++

As was stated in my previous post, all of the code that is provided on this site was created using Microsoft Visual

C++ || Which Compiler To Use?

A common question one may wonder is, which compiler should I use? There are a few choices, and your choice should probably