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++ > Conversions Code Examples

Convert Octal number to Hexadecimal number

Program to Find Minimum Spanning Tree - This C++ program sample depicts the Prim's Algorithm which finds the minimal spanning tree(tree consisting of the minimum weights of edges connecting any 2 vertices) in graph.

Checks a Character is Capital Letter or Not - Takes input a Character and Check it whether a 'character' is capital letter, small letter, Digit or Special character. 'All characters' like small or capital letters, digits and special characters

C++ Program use Linear Search Technique - First ask to enter the array size then it will ask to enter the array elements, then it will finally ask to enter a number to be search in array to check whether it is present in the array or not

C Program to displaying Day of the Month - C programming code to implement calender. Program example to display day of month. Program will accept year, month and date from the user and will display the day of the

Program Generate All the Set Partitions of - This algorithm takes the 'Input of the Natural' number and prints all the possible partition of each number less than or equal to it. For each number, it starts with the number and breaks

Find Nth Fibonacci Number Use Recursion - C Program to find the nth 'fibonacci number' using recursion. Program prints the fibonacci of a number. In fibonacci series, each number is the sum of the 2 preceding numbers. 0, 1, 1,

Program Create the Prufer Code for a Tree - The Time complexity to generate this code is 'O(v*e)'. This algorithm takes the input of the number of vertexes for the tree. Then it takes the input if "Vertex Pairs" which have an edge

Sample Sort Strings in Alphabetical Order - To sort strings in alphabetical order, you have to ask to the user to enter the two string, now start comparing the strings, and if found then make a t variable of same type, and place the