Category Archives: Basic
C++ || How To Check If A String Starts & Ends With A Certain String Using C++
The following is a module with functions which demonstrates how to determine if a string starts and ends with a certain substring
C++ || How To Read An Entire File Into A String & Write A String To A File Using C++
The following is a module with functions which demonstrates how to write a string to a file and read an entire file
C++ || How To Replace All Occurrences Of A String With Another String Using C++
The following is a module with functions which demonstrates how to replace all occurrences of a substring with another substring using C++.
C++ || How To Check If A String Is Empty Or Only Contains Whitespace Using C++
The following is a module with functions which demonstrates how to determine whether a string is empty, or consists only of white-space
C++ || How To Convert A String To Upper and Lower Case Using C++
The following is a module with functions which demonstrates how to convert a string to all upper and lower case using C++.
C++ || How To Remove All Whitespace From A String Using C++
The following is a module with functions which demonstrates how to remove all whitespace from a string using C++. 1. Remove All
C++ || How To Get The File Name & File Extension From A Path Using C++
The following is a module with functions which demonstrates how to parse a file name and file extension from a path using
C++ || Telephone Digit Program – How To Convert Letters To Numbers Using C++
The following is a program with functions which demonstrates how to implement a telephone digit program which converts the letters on a
C++ || Snippet – How To Display The Current Working Directory
The following is sample code which demonstrates how to display the current working directory of the program when its properties were initialized.
C++ || Snippet – How To Convert A Decimal Number Into Binary
This page will demonstrate how to convert a decimal number (i.e a whole number) into its binary equivalent. So for example, if
C++ || Convert Numbers To Words Using A Switch Statement
This program demonstrates more practice using arrays and switch statements. REQUIRED KNOWLEDGE FOR THIS PROGRAM Integer Arrays Cin.get Isdigit For loops While
C++ || Char Array – Palindrome Number Checker Using A Character Array, Strlen, Strcpy, & Strcmp
The following is a palindromic number checking program, which demonstrates more use of character array’s, Strlen, & Strcmp. Want sample code for
C++ || Convert Time From Seconds Into Hours, Min, Sec Format
Here is another simple programming assignment. This page will demonstrate how to convert time from -seconds- into HH::MM::SS (hours, minutes seconds) format.
C++ || Char Array – Determine If A String Is A Number Or Not
The following is another intermediate homework assignment which was presented in a C++ programming course. This program was assigned to introduce more