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++ > Data Structures Code Examples

C++ Program to Implement Pairing Heap

Enter Week Number & Prints Day of Week - C language program input week number(1-7) & print the corresponding day of week name using if else. Input week day number. Store it in some variable say week. And print Monday

C++ Codings Simple Class Template Array - Templates are a feature of the C++ Language that allows functions and classes to "operate" with generic types. A class template provides a "specification" for generating classes based

C++ Shutdown & Restart Your Computer - C++ sample made for both i.e., to shutdown your computer or to 'restart your computer', first it will ask to the user want to shutdown computer or want to restart computer. Then

Swapping numbers Function Call by Value - Before we discuss function call by value, lets understand the terminologies that we'll use while explaining this: Actual parameters: The parameters that appear in function calls and

Copy One String to Another use Recursion - C Language Program code to copy one string to another using recursion. The Program uses recursive function and copies a string entered by user from one 'Character Array' to another

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

Find Armstrong Numbers between 1 to N - The Armstrong Number is a n-digit number that is equal to the sum of nth power of its digits. 407 = 4^3 + 0^3 + 7^3 = 407 is. Input upper limit to print Armstrong number from

Convert Binary Number Octal Vice-Versa - You will learn to convert "binary number" to octal, and octal number to binary manually by creating a "user-defined" function. In this, first convert the binary number to "decimal".