C/C++ Code Snippets

Computer Graphics - Draw a Line using Bresenham Algorithm

Following code snippet is an implementation of Bresenhaam Algorithm to Draw a Line using C++....
Category: C/C++ Date: 4/12/2013 9:14:15 PM

Convert 24 Bit True Color Image to Gray Scale Image using C/C++

/*  CONVERT A 24-BIT TRUE COLOR IMAGE TO GRAYSCALE  IMAGE USING C/C++ CODE*/ #include &...
Category: C/C++ Date: 10/29/2010 8:45:15 AM

Concatination of two Strings

/* CONCATINATION OF TWO STRINGS */ #include<stdio.h> #include<conio.h> void main() ...
Category: C/C++ Date: 7/20/2010 11:22:05 AM

Calculate Sum of Series S=1+2/3!+3/4!+................

/* TO FIND SUM OF SERIES S=1+2/3!+3/4!+------------ */ #include<stdio.h> #include<conio...
Category: C/C++ Date: 7/20/2010 11:19:55 AM

Enter a String and count number of Vowels in it

/* ENTER A STRING & COUNT NO. OF VOWELS IN IT        */ #i...
Category: C/C++ Date: 7/20/2010 11:17:29 AM

Enter a Number and Print Sum & Multiplication of Digits

/* ENTER A NO. & PRINT SUM & MULTI. OF DIGITS  */ #include<stdio.h> #include&...
Category: C/C++ Date: 7/20/2010 11:13:05 AM

A program to sort a range of numbers with Insertion and Quicksort, check their sorting time and prom....

A program to sort a range of numbers with Insertion and Quicksort, check their sorting time and prom...
Category: C/C++ Date: 7/19/2010 11:37:11 AM