# C++ Programming Code Examples

## C++ > Pyramid Patterns Code Examples

### Print Stars Pattern

C Language Coding Print Alphabets a to z -
Internally C represent every character using ASCII character code. ASCII is a fixed integer value for each global printable, non-printable characters. For example ASCII value of a=97,

C++ Object Oriented Programming (OOP) -
(OOP) is a "Programming Paradigm" that is based on the concept of objects. An object is a "Data Structure" that contains data (fields) and functions. And Objects are instances of

C++ Codes Check a Number is Palindrome -
C++ sample ask to enter a number to reverse it, then check whether reverse is equal to its "original or not", if "it is equal" then it will be palindrome else it will be not be palindrome:

Check if a Number is Positive or Negative -
C Language check if a number is positive or negative using nested if...else. This program takes a number from user & checks whether that number is either positive or negative or

The Mind Reader game C Coding example -
Choose a two digit number and add digits. Subtract the sum from original number. See the symbol opposit to the number you got. Press any key The MIND READER will display

Find the Sum of All Nodes in a Binary Tree -
Program code to find the sum of all nodes in a binary tree. Structure to create the binary tree. Inserting elements in the binary tree. C Code to dynamically create new nodes. Code

C++ Sample Code Implement Bucket Sort -
Divide the range into equal parts and assign a 'bucket' to each part. Split the data and insert them into the Corresponding bucket by using insertion sort. 'Merge' all the buckets into one

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...