Simulation of console-I/O program BirthdayProblemDemo

Simulation of console-I/O program BirthdayProblemDemo, using ConsoleApplet as a basis. See the file ConsoleApplet.java for more information. David Eck eck@hws.edu Java /******************************************************* *...

Stop-Watch Java Program

A component that acts as a simple stop-watch. When the user clicks on it, this componet starts timing. When the user clicks again, it displays the time between the two clicks. Clicking a third time starts another timer, etc. While it is timing, the label just displays...

BirthdayProblem Demonstration

How many random people do you have to select before you find a duplicate birthday (that is, two peole who were born on the same day of the same month, but not necessarily in the same year). This program simulates the process. (It ignores the possibility of people born...

Count the words in a file – Java

This program will read words from an input file, and count the number of occurrences of each word. The word data is written to an output file twice, once with the words in alphabetical order and once with the words ordered by number of occurrences. The input and...

Blackjack Java Game

In this applet, the user plays a game of Blackjack. The computer acts as the dealer. The user plays by clicking “Hit!” and “Stand!” buttons. The programming of this applet assumes that the applet is set up to be about 466 pixels wide and about...

C++ Program to demonstrate SnakeMan game

It is a snake game same as in Nokia Mobile Phones written n C++ using Turbo C++ compiler. I assure that you would love it. The code is quite simple to understand. I would be happy if you visit it.   Snake Game (17.6 KiB, 3,645...

TIC TAC TOE

TIC TAC TOE Game 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 illustration. * * * *...

Bubble Sort

Read an integer array, print it, then sort it and print it. Use the bubble sort method C++ /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and...

ballonpoking(A GAME IN C++)

This game will help all new C Language Programmers in understanding the concepts of graphics and object oriented programming in C++. So play and enjoy………… Please post your comments and rate the game. Regards Ehsan ul haq [code...

Graphical Calculator and Dairy

This is a Graphical calculator and graphical dairy which uses files to store the diary information. [code=’c’]/******************************************************* * MYCPLUS Sample Code – https://www.mycplus.com * * * * This code is made available...

TIC-TAC-TOE Enhanced Version – C++

This is an enhanced version of Tic-Tac-Toe (TTT) game by adding one more row and column. Actually I have played this newer version of Tic-Tac-Toe (TTT) game on a video game. So, when I learnt C/C++ programming, it was my wish to program this game myself using C/C++....

IP configuration

This sample illustrates how to programmatically change an IP address for a specific network adapter on your machine. This program also demonstrates how to retrieve existing network adapter IP configuration information. IP configurations can be changed for a specific...