Find the longest common sub-sequence between two strings

This programme finds the longest common sub-sequence between two strings. It implements the most famous dynamic programming algorithm. Output is a null-terminated string, so must be the input This package is provided as is with no warranty. The author is not...

Tree manipulation and traversing

Nice tree manipulation and traversing C /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of...

Graphics

Small C Language Program to show the drawing and filling of some basic shapes like rectangle, circle etc… with colors and different shades. First of all I have created a characters aray of patterns that will fill the drawing, then initialize the graphics mode...

Defensive Programming Techniques

Writing perfect software may be an elusive Holy Grail for developers, but a few defensive techniques, routinely applied, can go a long way toward narrowing the gap between code and ideal. Nothing will give you more peace of mind than thoroughly tested code. If...

Data Time and Year

Starting to use enumerated types: Printing for each day of the week, today, yesterday, and tomorrow, both as a string and as a number. C /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made...

Graphical Scientific Calculator

Nice graphical calculator.It has all the functinalities of a scientific calculator. Good User Interface with buttons. User can use mouse too to perform the required operation. So Do see itThanks [sourcecode language=’c’]...

Insertion in Arrays

How to insert an element in an array at any point. And then print the updated array C /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is...

Multiplication of Matrices

A program to find the multiplication of the given matrices [sourcecode=c]/******************************************************* * MYCPLUS Sample Code – https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided...

Linear searches.

Read an integer array and then do linear searches. C /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * *...

Simple operations with arrays

The following C programming code performs simple operations on arrays. It initializes an array by two different ways and prints out the result of the array initialization. C /******************************************************* * MYCPLUS Sample Code -...

Different Sorting Techniques

Bubble SortInsertion SortSelection SortShell Sort C /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * *...

C Program to compare two integer arrays

This C program compares two distinct arrays and if the arrays are same then content results in FALSE. The behavior of comparison is explained when we note that the comparison is a comparison of addresses, not contents. C #include < stdio.h > int main(void) { int...