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++ > Sorting Searching Code Examples

Programming Code for Insertion Sort





Find Whether a given year is Leap Year or - Takes a year as input and finds whether a year is leap year or not. Take a year as input. Check whether a given year is divisible by 400. Check whether a given year is divisible

Count Occurence of a Substring in a String - Program takes a string & a substring as input and "counts the occurrence of a substring" in string. Take a String and a Substring as input. Firstly check for the substring in the string. If

Computes DFT Discrete Fourier Transform - C++ Program to compute the 'coefficients' of the DFT (Discrete Fourier Transform) directly. In math, the discrete Fourier transform (DFT) converts finite list of equally spaced samples

C Code Perform all Arithmetic Operations - C program input two numbers and perform all arithmetic operations. How to perform all arithmetic operation between two numbers in C programming. C program to find sum,...

Insertion Sort Algorithm in C++ Language - Insertion sort is simple sorting algorithm that builds the final sorted array ('or list') one item at a time. It is much less efficient on large lists than more advanced algorithms such as quick

C++ Searching Using Self-Organizing Lists - "Self-Organizing" List updates on the basis of 'last searched item'. The sequential searching approach is used. In general search, 80% time only specific 20% of data is accessed. Sample

How to Call a Function in C Programming? - Call a function in C Language. A function is a block of statements that performs a specific task. Suppose you are building an application in C Language and in one of your c code, you

Built-in Data Types in C++ Programming - Any programming language has built in data types. Data types are used to create variables or your new data types. Variable is a amount of memory that has its own name and value.