 # C++ Programming Code Examples

## C++ > Code Snippets Code Examples

### Cin getline example

C++ Code Find ASCII Value of a Character - Full form of Ascii is American Standard Code for Information Interchange. It is a character "Encoding Scheme". Originally based on the English alphabet, every character or number

Code Convert a Number Decimal to Binary - Find a Binary equivalent of a decimal number entered by the user, using recursion. The user has to enter a 'decimal' which has a base 10 & this program evaluates the binary equivalent

C Display Fibonacci Series Using Recursion - Program code display 'Fibonacci series' using recursion. Using "fibonacci_series()" that calls itself recursively, in order to display series for the entered number of terms. Program enter

Convert Binary Code of a Number into its - C Programming Language code to convert binary code of a number into its equivalent gray's code without using recursion. Gray is also represented using 0s and 1s. Speciality

Calculates Area & Circumference of Circle - To calculate "area and circumference" of any circle in "C++", you have to ask to the user to enter the radius of circle, place the radius in a variable say r and make two variable, one for

C language simple program dice throwing - C Programming dice throwing code. Seed the random number generator. The highest score of the two dice wins. Get a random number from 1 to 6. Calculate the total of the two...

Simple Class Called Cube in C++ language - The object should calculate the 'total area' & the volume based on the side measurement. If the program supplies a side equal or lower than 0, reset the side to 1. "Create an empty"

Print to Binary Numbers Pyramid Patterns - C code binary numbers pyramid pattern. First and Third Line is Starting with 1, While 2nd & 4th Line is starting with 0, So for First & Third Line count will be 1 and for even Line Number