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 manipulating a text

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 integer array. REQUIRED

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 manipulating a text

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 back to the

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 how to use

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 and Strings help

C++ || Simple Math Using Int & Float

This page will display the use of int and float data types. Note: you can (obviously) add as many int’s together as you wish, not

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 using Visual C++,

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++. I remember

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 be based on