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++ > Beginners Lab Assignments Code Examples

Program to Generate All Subsets of a Given Set in the Gray Code Order

Find Length of Strings Without use Library - Its easier to find the length of the string using given library function, but in this program we are finding the "Length of the String" without using Library Function. In the above program

Convert Uppercase Character to lowercase - To convert "from uppercase to Lowercase" in 'C++', enter character in uppercase to convert it into 'Lowercase' and display the equivalent character in lowercase. To change uppercase

Represent Graphs Using Incidence Matrix - This algorithm takes the input of the number of vertex. For each pair of vertex ask whether they're connected or not. Print the incidence matrix. Function to print the incidence matrix

Converting IP Address to its base10 form - Print help and exit with exval. Print version and exit with exval. Output some additional info. Very basic test of ip4 dotted quad address format. Convert address to base 10

C++ Sample Programs Reversing Number - To reverse a number in C++, then you have to ask to the user to enter a number. Now, start reversing that number to find its reverse and then display its reverse on the screen. Make a

Code Convert a Decimal Number to Binary - C Converts a decimal number into binary and count the number of 1s. The c program uses module operation and multiplication with base 2 operation for conversion. It also uses

Check Even or Odd using Conditional and - C input any number and check whether the given number is even or odd using bitwise operator. Check to whether a number is even or odd using bitwise operator in C. Logic to

Program Implement the Vizing's Theorem - The chromatic index of the simple graph can be either 'maxDegree' or maxDegree+1. The chromatic index is the maximum number of color needed for the 'edge coloring' of graph.