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++ > Sorting Searching Code Examples

Find the maximum subarray sub using Divide and Conquer Approach

C++ Finds Maximum Element in an Arrays - Construct "Binary Search" tree for "unsorted" data array. For the 'Maximum element' move the pointer to the rightmost child node. This value will be the minimum value among data.

C++ Switch Statement Control Statement - "Switch statement" is multi-way decision that tests whether an expression 'matches' one of a number of "constant integer", and branches accordingly. 'Switch statement' that allows us

C++ Two-Dimension Transformations In - This C++ Program code example deals with all two-d transformation such as translation, 'scaling', 'rotation', 'reflection', 'shearing' in homogeneous coordinates. Transformation

Implement Doubly Linked list using Singly - Program implements doubly linked list using singly Linked List. It makes use of 2 pointers, one points at the current node, other points at the head and when user requests to move

C++ Detecting a Keypress and ASCII Code - Program which detects a key pressed and its 'ASCII' value with out pressing enter key and using cin>> on press Esc key program should exit. When press a key its ASCII value should

Illustrate Stack Operations using MACROS - C Language Use #define function to define the macros. Define separate functions for the operations like push, pop, display etc. Use switch statement to access these functions.

C++ Language Implementations For Stack - Test if the stack is logically full. Return true if full, false otherwise. Get the "most recently" inserted item in the stack. Does not alter the stack. Return the most recently inserted item

Check Whether the Number is Armstrong - This C Program code checks whether a given number is armstrong number. An Armstrong number is an n-digit base b number such that the Sum of its Digits raised to the Power N is