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 a Number Decimal System to Binary System using Recursion





C Specifies the buffer that Stream will use - Send to a buffered stream to filep1 and send to an unbuffered stream to filep2. Set buf to null to turn off buffering. The buffer must be BUFSIZ characters long. BUFSIZ is defined in

Program Solve The 0-1 Knapsack Problem - C++ Program to solve 0-1 'knapsack problem'. The 'Knapsack' problem or Rucksack problem is a problem in "Combinatorial Optimization": Given a Set of items, each with a mass, value,

A Templated Stack Data Structure sample - Using Templates so that any type of data can be stored in stack without multiple defination of class. Contains "Location of Topmost data" pushed onto stack. Sets the top location to -1

C Program to Find Sum of Array Elements - Find Sum of Array elements Using Recursive function in C language. Function declaration to find sum of array. Input size and elements in array. Recursively find the sum of elements

C Program Code Find the Length of String - C Program calculate length of string without using strlen() function. You can use standard library function 'strlen()' to find the length of a string, this C program computes the length

2d example insertion sort [linked list] in C - C program code to 2d example insertion sort [linked list]. Insert a node directly at the right place in the linked list. Insert some numbers into the linked list. Print the list. Free the list

C++ Codes Solve Tower of Hanoi Problem - C++ program displays the iterative solution to the Tower of Hanoi problem. Tower Of Hanoi consists of 'three rods' and a number of disks of different sizes which can "Slide Onto" any

Linked List and Subtract 2 Large Numbers - Program sample takes the values of two large numbers as input and displays the computed value node with node in the resultant Linked List. Result of "subtraction" for two numbers