Shortest Path

This program finds the shortest path between two cities, provided that the map of the two cities and the distances are provided.   Shortest Path (109.7 KiB, 9,883...

PC to PC Communication in C

This is a C program to demonstrate PC to PC Communication via RS232 port. Chat with only 3-wire connection. This program is tested with Turbo C++ editor Version 3.0. How ever, authors are not responsible for any damages that may happen to your computer. Please contact us if any problem exits.

Graphical Piano – “My Piano” – C++

MyPiano 3.0 is a simple piano developed in C++ using graphics functions. By using this piano,user can play, record music etc. This is the third version of MyPiano source code.

Printing ASCII Characters in C

The following program prints out the numerical codes of the printable/visible ASCII characters. This C program prints ASCII values of all the alphabets and special characters.

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...

Optimal Pair-wise Sequence Alignment

Optimal Pair-wise Sequence Alignment It implements Smith-Waterman with affine gap penalties. It requires at least one blank line between the two sequences. Ignores input lines with non-alphabetical characters This program is provided as is with no warranty. The author...

Base Converter V1.1

You can convert all sorts of numbers i.e. including real numbers ( 1.23 etc. ). Plus A Memory game to get your mind and time ticking all the time. The graphics are improved. Use of mouse makes it far more easier to use. Altogether Amazing program.

Telephone Directory Program in C

This is telephone directory program written in C and uses BGI Graphics to display data. The program takes Name, Phone Number, Mobile Number, Address and saves it in newly created file.

The program also shows saved record on screen. User can find and delete the records too.

C implementation of Text Box

A small text box for console based applications. It can be used as a help dialog box or showing the tips, hints in a game or as an information box. Its length and height can be changed.

Making Mouse Pointers

How to create the mouse pointers in c language. Different shapes can be given to the mouse pointer by changing the values of the cursor variable array.

UDP Sender and Receiver

Sender: This sample sends UDP datagrams to the specified recipient. The -c option first calls connect() to associate the recipient’s IP address with the socket handle so that the send() function can be used as opposed to the sendto() call. Compile: cl -o Sender...

Read/writing/reversing integer arrays

The simple program Reads and traverse, write arrays and reverse the elements in an integer array. [sourcecode language=’cpp’] /******************************************************* * MYCPLUS Sample Code – * * * * This code...

Linear searches.

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

Finding the Prime number in C

A prime number is a number greater than 1 that cannot be formed by multiplying two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number.

C Implementation of Various Sorting Algorithms

This is a simple C implementation of various sorting algorithms such as Bubble Sort, Insertion Sort, Selection Sort and Shell Sort.   Bubble Sort Bubble sort, is a simple comparison-based sorting algorithm that repeatedly steps through the list, compares adjacent...

C Program to Add Sequence of Numbers

This C program reads a sequence of positive integers as input by the user and print their sum. The program keeps on taking the input from user until user enters number ( 0 ) and program calculates the sum of all input numbers. Finally this C program prints the sum of all the numbers on screen and terminates.

The use of streams with files

The use of streams with files. This programme copy the input file to another file and also print its contents to the IO Stream. C /******************************************************* * MYCPLUS Sample Code - * * * * This code is made...

Pointer to a Function

An example of using a pointer to a function. It must be pointed out that there is nothing new here, the pointer to a function is available in ANSI-C as well as in C++ and works in the manner described here for both languages. It is not regularly used by most C...