C++ Programming Code Examples
C++ > File Manipulation Code Examples
Astrology - This code is used to determine certain information
C Number of Days in a Month Switch Case -
Find number of Days in a Month using switch case - best approach. Lets Observe the above program carefully for a moment. In the above program we are performing same action on...
C++ Codes Solve Tower of Hanoi Problem -
C++ program displays the iterative solution to the Tower of Hanoi problem. Tower Of Hanoi consists of 'three rods' and a number of disks of different sizes which can "Slide Onto" any
Check Even or Odd using Bitwise Operator -
C Language program code sample input any number and check whether the given number is even or odd using bitwise operator. How to check whether a number is even or odd using
C++ Coding Add Two Numbers by Pointer -
To add two numbers using pointer in the C++, you have to enter the 2 number, then make 2 'pointer' type variable of same type say *ptr1 and *ptr2 to initialize the address of both the
C Program Print Top Down Right Triangle -
Printing to top down right triangle. A triangle with one of its angle 90 degrees is called right triangle. We shall now see how to 'print stars' *, in right triangle shape, but upside down on
Get Highest Frequency Character in String -
C Program finds 'highest frequency' character in a string. C Program checks which character has 'occured more number' of times & checks how many times these character has occured
Input Number & Check it is Palindrome or -
C program input number and check number is Palindrome or not using Loop. Palindrome number is such number which when reversed is equal to the original number. 121, 12321,...
Swaps Numbers Using Pointers in the C++ -
The simplest and probably most widely used method to "swap 2 variables" is to use a third temporary variable: In programming, the act of 'swapping' two variables refers to mutually