Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

C++ Programming Code Examples

C++ > Mathematics Code Examples

Program to print first 100 Ramanujan Numbers by two ways

Find sum of array elements using pointers - C Program code find sum of array elements using pointers, recursion & functions. Sum of array elements using Recursion: Function calling itself. This program calls user defined

C Program to Simulate a Simple Calculator - This C Program simulates a simple calculator. Program performs arithmatic operations like addtion, subraction, multiplication & division. Assume that the two numbers a&b are given.

Decimal equivalent of input Hexadecimal - Program to display the decimal equivalent of an input hexadecimal number (Hexadecimal to Decimal). How many digits in input? Digits of your i/p no. must not exceed entered limit

Checks Cycle in a Graph using Topological - Displaying the "Topological Sort Method" of finding whether a given graph contains cycle or not using Kosaraju's Algorithm. Enter the source and destination. Cycles exist in graph.

Program Code Demonstrate Nested Printf - Print to 'abcdefghijklmnopqrstuvwxyz' while executing inner printf. Length of the "abcdfg hijklmnopqrstuvwxyz" is 26. Printf will return Length of String. It returns 26 to outer printf

Learn Bitwise Operators in C++ Language - in C++, "bitwise operators" are similar to the Logic operators, but they perform the same logical operations on bits. All data in memory is represented in the "binary form". Variables

Convert Binary Tree into Singly Linked List - C program converts a binary tree into a singly Linked List by Breadth first search algorithm. We use this algorithm for Traversing Level by Level. Structure type to point to the nodes of

Solves Tower of Hanoi Problem Recursion - C Program uses recursive function and solves the "Tower of Hanoi". The tower of hanoi is a mathematical puzzle. It consists of threerods, and a number of disks of different sizes which