C++ Programming Code Examples
C++ > Strings Code Examples
C++ Program to Check Whether a character is Vowel or Consonant.
C++ Sample Code Make Simple Calculator -
To make a simple calculator in the C++, which performs basic four mathematical operations (addition, subtraction, multiplicatin, division) depending on the "user's choice", switch case
C++ Programming Write Content to a File -
To 'write' some content in a file in C++, enter the file name with extension to open that file using the function open(), then after opening the desired file, again ask to the user to enter
C++ Program to Implementing LRU Cache -
A Queue Node (Queue is implemented using Doubly Linked List). And a FIFO collection of Queue Nodes. A hash (Collection of pointers to Queue Nodes). A utility function to create
Sum the Integers from 1 to users number -
Sum the integers from 1 to a user-specified number in C programming language. Declare the number of integers to be summed. The loop counter. Sum integers from 1 to count.
Find Sum of First & Last digit of a number -
C program to input a number and find sum of first & last digit of the number using for loop. Input a number from user and store it in some variable say j. Find last digit of given number
C++ Implement Circular Singly Linked List -
Enter the element and "Insert element" after position. Print: "list is empty" and nothing to delete. Enter the element for deletion. Enter the element to be searched. "Create Circular"
C++ Program Implement ScapeGoat Tree -
Function to check if "tree is empty". Function to count number of "nodes recursively". And function to search for an element. Function to search for an element recursively. Function
C++ Code Matrix Multiplication 2D Arrays -
Matrix addition is the "operation of adding" 2 matrices by adding the corresponding entries together. 2 dimensional array, represented in the form of "rows and columns", also suitable