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

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

TIC TAC TOE Game

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

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

C Program to print 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...

C Calculator Program

This is a simple calculator written in C language and works under DOS Command prompt. The calculator performs all the basic arithmetic operations including addition, subtraction, trigonometric calculations, and many other functions. It can also calculate logarithms,...

Stack implementation with array

This java code basically implements stack functionality. It can Pop and Push an item in stack with the help of array. The item can only be an integer number and inernally the java program uses arrays to maintain items in stack. [code=’java’]...

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 [code=’c’]...

Datagram

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. Compile cl -o Nbdgram.exe Nbdgram.c ..\Common\Nbcommon.obj Netapi32.lib User32.lib...

Photo

A small java program to show photo on JPanel. User can select any image file from the hard drive and show on the frame. Image file can be jpg, gif, bmp or any other supported graphics file. [code=’c’]...

Five function calculator

Here is a really simple JavaScript calculator – with just 5 functions! (Add, subtract, multiply, divide, and power) This example can help you see how JavaScript evaluates math functions! Check it out! JavaScript...

Advanced Calculator

This is a very comprehensive JavaScript calculator. Although the source code can get quite confusing, it works. JavaScript /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a...