Category Archives: C++
C++ || Struct – Add One Day To Today’s Date Using A Struct
This program displays more practice using the structure data type, and is very similar to another program which was previously discussed here.
C++ || Searching An Integer Array For A Target Value
Here is another actual homework assignment which was presented in an intro to programming class. REQUIRED KNOWLEDGE FOR THIS PROGRAM Integer Arrays
C++ || Find The Day Of The Week You Were Born Using Functions, String, Modulus, If/Else, & Switch
Click Here For Updated Version Of Program This program displays more practice using functions, modulus, if and switch statements. REQUIRED KNOWLEDGE
C++ || Find The Prime, Perfect & All Known Divisors Of A Number Using A For, While & Do/While Loop
This program was designed to better understand how to use different loops which are available in C++. This program first asks the
C++ || Whats My Name? – Using a Char Array, Strcpy, Strcat, Strcmp, & Strlen
Here is another actual homework assignment which was presented in an intro to programming class. REQUIRED KNOWLEDGE FOR THIS PROGRAM Character Arrays
C++ || Find The Average Using an Array – Omit Highest And Lowest Scores
This page will consist of two programs which calculates the average of a specific amount of numbers using an array. REQUIRED KNOWLEDGE
C++ || Struct – Add One Second To The Clock Using A Struct
Here is another actual homework assignment which was presented in an intro to programming class. This program utilizes a struct, which is
C++ || Input/Output Text File Manipulation – Find Highest, Lowest, Average & Total Sum
This is a program which will utilize fstream, specifically ifstream and ofstream, to read in data from one .txt file, and it
C++ || Count The Total Number Of Characters, Vowels, & UPPERCASE Letters Contained In A Sentence Using A ‘While Loop’
This program will prompt the user to enter a sentence, then upon entering an “exit code,” will display the total number of
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