C++ Programming Code Examples
C++ > Computer Graphics Code Examples
Game Pack in C++.
Concatenate 2 Strings C++ Without StrCat -
Program which take Two Strings as input and concatenate Two Strings without using string class function "strcat()". There are total three strings, two for 'input' and third for our Result
C Program code to Print Number in words -
C program to input a number from user and print it into words using for loop. The above logic is correct however it print the words in reverse order. For example, suppose number
C Code perform functions of a Calculator -
C Programing code to perform functions of a calculator: factorial, addition, subtraction, multiplication, division, squares. Sum of the input numbers. The difference between the
C++ Sample Calculate Power of a Number -
Program takes two numbers (a 'base number' and an 'exponent') and Calculates the Power. The technique works only if the exponent is a positive integer. If you need to find the power
C++ Codes Generate Armstrong Numbers -
To generate 'Armstrong numbers' in C++, you have to ask to the user to enter the interval to print the Armstrong number between a given interval as shown here in the following codes.
Compile Ttime Polymorphism in The C++ -
In this C++ example, we have two functions with "same name" but different number of arguments. Based on how many parameters we pass during Function call "Determines"
C++ Codings Simple Class Template Array -
Templates are a feature of the C++ Language that allows functions and classes to "operate" with generic types. A class template provides a "specification" for generating classes based
C Calculate the Sum of the Array Elements -
C Program code calculates the sum of array elements using pointer. The program uses the pointer to traverse the array and adds up the element values there. C program to read