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

Find the Maximum Size Clique in a Graph - This is a C++ Program to find the 'cliques' of size k in a a graph. An "Undirected Graph" is formed by a finite set of vertices and a set of unordered pairs of vertices, which are called

Getting a User Input as String in The C++ - This can be considered as inefficient method of reading user input, why? Because when we read the user input string using cin then only the "First word of the String" is stored in char

C++ Code Deletes Elements from an Array - To "delete element" from an array in C++, you have to first ask to the user to enter the array size then ask to enter the array element, ask to enter the element which is "to be deleted".

Finds First Occurrence of a Word in String - How to find the 'first occurrence' of any word in a string in C. Input string from user, store it in a variable "str". Input word 'to be searched' from user, store it in some other variable say

C Sample Code Prints the Pascal's Triangle - Pascal's triangle is one of the classic example taught to "engineering students". It has many interpretations. One of the famous one is its use with bionomial equations. The triangle is

C Programming Codings Checks Leap Year - C Language program check leap year using if else. Wikipedia states Leap Year as a special year containing one extra day i.e. total 366 days in a year. A year is said to be leap year,...

Sorting Elements in Lexicographical Order - C Language program code 'Sort Elements' in lexicographical order (dictionary order). This program takes 10 words(10 strings) from the user and sorts them in lexicographical order.

Merge Sort Linked list Code in C Language - Add a node to the linked list. Preform merge sort on the linked list. Merge the lists. Insert some numbers into the linked list. Sort the list. Print the list. Free the list. Add a node to