Category Archives: Basic
C++ || Char Array – Palindrome Checker Using A Character Array, ToUpper, Strlen, Strcpy, & Strcmp
The following is a palindrome checking program, which demonstrates more use of char array’s, ToUpper, Strlen, & Strcmp. REQUIRED KNOWLEDGE FOR THIS
C++ || Char Array – Convert Text Contained In A Character Array From Lower To UPPERCASE
This program demonstrates how to switch text which is contained in a char array from lower to UPPERCASE. This program also demonstrates
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 Find The Highest & Lowest Numbers Contained In An Integer Array
This page will consist of a simple demonstration for finding the highest and lowest numbers contained in an integer array. REQUIRED KNOWLEDGE
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++ || Modulus – Celsius To Fahrenheit Conversion Displaying Degrees Divisible By 10 Using Modulus
This page will consist of two simple programs which demonstrate the use of the modulus operator (%). REQUIRED KNOWLEDGE FOR THIS PROGRAM
C++ || Random Number Guessing Game Using Srand, Rand, & Do/While Loop
This is a simple guessing game, which demonstrates the use of srand and rand to generate random numbers. This program first prompts
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++ || 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