Showing posts with label Project. Show all posts
Showing posts with label Project. Show all posts

Tuesday, 2 April 2013

Employee Management System Project in C++


About the Project : 


This project covers Employee Management Information System, which helps to develop the various software projects. This project is very much effective, interactive and can be used easily. Using these tools we can develop any project in very short period and outputs can be obtained in best manner. For ex we can use these tools in development of employee management system, person information diary, automatic billing system, call record, and many more. The project contains functions to add, update, delete, and create database in C++.
It is developed using graphics in C++, which make this project more users friendly and interactive to use. Also due to use of graphics the presentation of the project becomes attractive and it also makes it different from other such application developed previously.
In addition to this the project also contains a game developed in C++ using graphics as and additional part, which can be played as for mind sharpness.

Requirements :

The program doesn't need any special hardware or software to run it can run on minimum hardware requirements. In software part also it only needs an operating system with C++ compiler on it.

1. Hardware requirements
Intel Pentium II Processor 233 Mhz. with min 64 MB RAM

2. Software Requirements
Windows 98 onwards.
C++ editor/Compiler


Project Contains : 


Project Report
Source Code
Executable File

Thursday, 28 March 2013

C++ Casino Game Project

About The Project : 


Casino Game is very simple text based game designed in C++ Programming. In this game also we have not used any graphics. So this is simple project for beginners like 11th or 12th class student can learn basic project concept by my this article. In Casino Game player can deposit fund to play. From this amount he can bet on number between 1 to 12.  By winning game player will get 10 times of his fund or else will loss all fund.



Source Code : 


<pre class="brush: cpp">
#include&lt;iostream.h&gt;
#include&lt;conio.h&gt;
#include&lt;stdlib.h&gt;
#include&lt;stdio.h&gt;
#include&lt;time.h&gt;
void draw_line(int n,char ch);
void rules();
void main()
{
int balanceamt,amt,no,dice;
char playername[80],ch;
clrscr();
draw_line(60,'=');
cout&lt;&lt;"nnnnttCASINO GAMEnnnn";
draw_line(60,'=');
cout&lt;&lt;"nnnEnter Your Name :";
gets(playername);
cout&lt;&lt;"nnEnter Deposit amount to play game :";
cin&gt;&gt;balanceamt;
do
{
clrscr();
rules();
cout&lt;&lt;"nnYour current balance is Rs."&lt;&lt;balanceamt;
do
{
cout&lt;&lt;"nn"&lt;&lt;playername&lt;&lt;" enter money to bet";
cin&gt;&gt;amt;
if(amt&gt;balanceamt)
cout&lt;&lt;"Your betting amount is more than your current balancennRe-enter datan ";
else
break;
}while(1);
do
{
cout&lt;&lt;"Enter your lucky number to bet between 1 to 12 :";
cin&gt;&gt;no;
if(no&lt;=0||no&gt;12)
cout&lt;&lt;"Please check the number!! should be between 1 to 12nnRe-enter datan ";
else
break;
}while(1);
randomize();
dice=random(12)+1;
if(dice==no)
{
cout&lt;&lt;"nnGood Luck!! You won Rs."&lt;&lt;amt*10;
balanceamt=balanceamt+amt*10;
}
else
{
cout&lt;&lt;"Bad Luck this time !! You lose Rs."&lt;&lt;amt;
balanceamt=balanceamt-amt;
}
cout&lt;&lt;"nnThe winning number was : "&lt;&lt;dice;
cout&lt;&lt;"nnt"&lt;&lt;playername&lt;&lt;" You have Rs. "&lt;&lt;balanceamt&lt;&lt;endl;
cout&lt;&lt;"nn--&gt;Do you want to play (y/n)? ";
cin&gt;&gt;ch;
}while(ch=='Y'|| ch=='y');
clrscr();
cout&lt;&lt;"nnn";
draw_line(70,'+');
cout&lt;&lt;"nntTHANKS FOR COME TO CASINO YOUR BALANCE AMOUNT IS RS."&lt;&lt;balanceamt&lt;&lt;"nn";
draw_line(70,'+');
cout&lt;&lt;"nnGame developed by ANIKET RAJPUTn";
draw_line(70,'+');
getch();
}
void draw_line(int n,char ch)
{
for(int i=0;i&lt;n;i++)
cout&lt;&lt;ch;
}
void rules()
{
clrscr();
cout&lt;&lt;"nn";
draw_line(60,'-');
cout&lt;&lt;"nttRULES OF THE GAMEn";
draw_line(60,'-');
cout&lt;&lt;"nt1. Choose any number between 1 to 12nt2. If you win you will get 10 times of money you betnt3. If you bet on wrong number you will lose your betting amountnn";
draw_line(60,'-');
cout&lt;&lt;endl;
}
</pre>