Shuffle Game

Shuffle Game is a simple C program to shuffle the numbers. The numbers predefined from 1-8 and they can be sorted out first and then the numbers are easily shuffled to generate random sequence. It’s a very nice program for some one who have jsut started learning programming in C language.

Snake Game

This program simulates the game “snake”.
A string of characters moves on the screen according to arrow keys pressed by user. If it touches itself or screen boundary, the program terminates. When the snake moves, in arbitrary screen positions some digit (1-9) appears.
The objective of the game is to make the snake eat the […]


This is an advance version of Tic Tac Toe computer game written in c programming language. The game runs in graphical mode of DOS prompt and users can play the game in graphical mode. The game has many options to choose from, like playing with computer, friend. While playing with computer use can select either […]

Paint in Dos

Anyone and Everyone is allowed to use this code freely without any conditions.I wrote most of this code as a part of a college assignment in my Computer Graphics Lab when I was in the 6th semester of Engineering. I am a student of R.V College of Engineering, Bangalore. (Computer Science and Engineering, Batch of […]

N Fibonacci numbers

This C program prints out the first Fibonacci series of N numbers. In mathematics, the Fibonacci numbers are a sequence of numbers named after Leonardo of Pisa, known as Fibonacci. The first number of the sequence is 0, the second number is 1, and each subsequent number is equal to the sum of the previous […]

C Calculator Program

This is a simple calculator written in C language and works under DOS prompt. The calculator performs all the basic arithematic operations including addition, subtraction, trignometric calculations, and many other functions. It can also calculate logrithms, powers, and roots of integer numbers.

* MYCPLUS Sample Code – […]

Datagram common

This header file contains the function prototypes for a set of functions that implement some of the most common NetBIOS functions such as enumerating LANAs, adding names, removing names, etc. The functions are implemented in Nbcommon.c

* MYCPLUS Sample Code – *
* […]


This application demonstrates the various datagram operations possible from NetBIOS. This includes sending and eceiving both directed and group datagrams as well as broadcast datagrams.
cl -o Nbdgram.exe Nbdgram.c ..\Common\Nbcommon.obj Netapi32.lib User32.lib
Command Line Options
nbdgram.exe options

-n:NAME Register my unique name NAME
-g:NAME Register my group name NAME
-s I will be sending datagrams
-c:xxx Number of datagrams […]