The project aims at developing an inventory management system using the C language that enables an organization to maintain its inventory. The project inventory management system demonstrates the creation of a user interface of a system, without the use of C Graphics library. The application uses basic C functions to generate menus, show message boxes and print text on the screen. To display customized text with colors and fonts according to application requirements, functions have been created in the application, which fetch the exact video memory addresses of a target…
Read MoreCategory: Computer Projects
Record Entry System Using C
The objective of the record entry system is to develop a login-based record keeping system, which has nested menus and different interface for different sets of users. The application record entry system contains separate interface defined for an administrator and employees. The application provides a basic menu, which has menu options for both types of users. According to the selection made by the user, the user is prompted to enter his login name and password. On successfully validation the user name and password, a menu is displayed to the user…
Read MoreSnake Game Using C
/* forward your comments to bestengineeringprojects.com */ To setup the graphics library: copy graphics.h to include folder and lbgi.a to library folder. Click Here To Download graphic.h and lbgi.a for linker parameters add these in project: -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 then start coding The Library files used is provided by Computer Science Depart. of Colorado University ( http://www.cs.colorado.edu/~main/bgi/ ) The Code: Now you can simply paste following code in the source file and compile , execute it. ( If you would like to know more about the code…
Read MoreTelephone Diary using C++
The project telephone diary using C++ stores contact information of person. The program telephone diary has used file system to store contact information in disk. It stores ID, Name, Address, Phone, Mobile and Email of a person. This project allows us to add, update, delete and search particular record of person. We can search contact information from person name and mobile number. Again, we can list out all contact in alphabetical order choosing appropriate option in program. Again, we can update and delete existing contact information on the basis of…
Read MoreEmployee Management System Using C++
Introduction to Employee Management System Using C++ Employ management system using C++ is a menu-driven program that allows us to add, update, delete and search records of an employee working in an organization. The program employee management system stores employee ID, name, post, department, and salary of the employee. Initially, it has no data. Thus, we have to add employee records choosing appropriate options in this program (i.e. selecting option #1). Previously we had posted Employee Management System Using C with the same features. Employee Management system using C++ program…
Read MoreSimple Paint Program Using C
Note: You are free to download, use, edit, update and rebuild the program and source codes downloaded from here, But Please don’t forget to give considerable credits to Dreamlover Technology and bestengineeringprojects.com if you do so. A Paint Program is a program which allows you to draw pictures and symbols into the screen. Here you will find the tutorial to build a Simple prototype of a paint program. The software build will not be reliable and perfect enough to implement it in a real working environment like to edit a…
Read MoreLibrary Book Info System (LBIS)
The project ‘Library Book Info System (LBIS)’ is going to develop for College has a good library enriched with a lot of books. The prime objective of the project is to fulfill the requirements of college library. This project has been developed to replace the existing manual system for keeping books records with computerized automated books record processing system. This project will automatically reduce the human efforts, time and cost and increases efficiency and accuracy of storing books records. The library staffs can get the right information in time and…
Read MoreGames of Chance | Dice Game | Craps
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
/* Game of Craps */ #include <stdio.h> #include <stdlib.h> #include <conio.h> #include <time.h> /* contains prototype for function time */ /* enumeration constants represent game status */ enum Status { CONTINUE, WON, LOST}; int rollDice( void ); /* function prototype */ /* function main begins program execution */ int main( void ) { int sum; /* sum of rolled dice */ int myPoint; /* point earned */ enum Status gameStatus; /* can contain CONTINUE, WON, or LOST */ printf("\t\t\t\t\tWelcome to"); printf("\t\t\t\t\tGame of Craps"); delay(2000); clrscr(); printf("\t\t\t\t\tCoded By:"); printf("\t\t\t\t\twww.bestengineeringprojects.com"); delay(2000); clrscr(); /* randomize random number generator using current time */ srand( time( NULL ) ); sum = rollDice(); /* first roll of the dice */ /* determine game status based on sum of dice */ switch( sum ) { /* win on first roll */ case 7: case 11: gameStatus = WON; break; /* lose on first roll */ case 2: case 3: case 12: gameStatus = LOST; break; /* remember point */ default: gameStatus = CONTINUE; myPoint = sum; printf( "Point is %d\n", myPoint ); getch(); break; /* optional */ } /* end switch */ /* while game not complete */ while ( gameStatus == CONTINUE ) { sum = rollDice(); /* roll dice again */ /* determine game status */ if ( sum == myPoint ) { /* win by making point */ gameStatus = WON; /* game over, player won */ } /* end if */ else { if ( sum == 7 ) { /* lose by rolling 7 */ gameStatus = LOST; /* game over, player lost */ } /* end if */ } /* end else */ } /* end while */ /* display won or lost message */ if ( gameStatus == WON ) { /* did player win? */ printf( "Player wins\n" ); getch(); } /* end if */ else { /* player lost */ printf( "Player loses\n" ); getch(); } /* end else */ return 0; /* indicates successful termination */ } /* end main */ /* roll dice, calculate sum and display results */ int rollDice( void ) { int die1; /* first die */ int die2; /* second die */ int workSum; /* sum of dice */ die1 = 1 + ( rand() % 6 ); /* pick random die1 value */ die2 = 1 + ( rand() % 6 ); /* pick random die2 value */ workSum = die1 + die2; /* sum die1 and die2 */ /* display results of this roll */ printf( "Player rolled %d + %d = %d\n", die1, die2, workSum ); getch(); return workSum; /* return sum of dice */ } /* end function rollRice */ |
Click Here to download Compiled Software The output of the Program are shown in figure below:
Read MoreFinding the maximum of three integers | C programming
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
/* Finding the maximum of three integers */ #include <stdio.h> #include <conio.h> int maximum( int x, int y, int z); /* function prototype */ /* function main begains program execution */ int main( void ) { int number1; /* first integer */ int number2; /* second integer */ int number3; /* third integer */ printf("\t\t\t\t\tWelcome to"); printf("\t\t\t\t\tFinding Maximum of Three Integers Software"); delay(2000); clrscr(); printf("\t\t\t\t\tCoded By:"); printf("\t\t\t\t\twww.bestengineeringprojects.com"); delay(2000); clrscr(); printf( "Enter three integers\n " ); printf( "and this software tell you the maximum number: " ); scanf( "%d%d%d", &number1, &number2, &number3 ); getch(); /* number1, number2 and number3 are arguments to the maximum function call */ printf( "Maximum number is: %d\n", maximum( number1, number2, number3 ) ); getch(); return 0; /* indicates successful termination */ } /* end main */ /* Function maximum definition */ /* x, y and z are parameters */ int maximum( int x, int y, int z ) { int max = x; /* assume x is largest */ if ( y > max ) { /* if y is larger than max, assign y to max */ max = y; } /* end if */ if ( z > max ) { /* if z is larger than max, assign z to max */ max = z; } /* end if */ return max; /* max is largest value */ } /* end function maximum */ |
Click Here to Download Compiled Software The output of the Program are shown in figure below:
Read MoreComparing two number using if statements,Relational operators, and equality operators
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
/* Comparing two number using if statements,Relational operators, and equality operators */ #include <stdio.h> #include <conio.h> /* function main begins program execution */ int main( void ) { int num1; /* first number to be read from user */ int num2; /* second number to be read from user */ printf("\t\t\t\t\tWelcome to"); printf("\t\t\t\t\tComparing Software"); delay(2000); clrscr(); printf("\t\t\t\t\tCoded By:"); printf("\t\t\t\t\twww.bestengineeringprojects.com"); delay(2000); clrscr(); printf( "Enter two integers, you want to compare\n" ); printf( "and this software tell you the relationships they satisfy: " ); scanf( "%d%d", &num1, &num2 ); /* read two integers */ getch(); if ( num1 == num2 ) { printf( "%d is equal to %d\n", num1, num2 ); } /* end if */ if ( num1 != num2 ) { printf( "%d is not equal to %d\n", num1, num2 ); } /* end if */ if ( num1 < num2) { printf( "%d is less than %d\n", num1, num2 ); } /* end if */ if ( num1 > num2 ) { printf( "%d is greater than %d\n", num1, num2 ); } /* end if */ if ( num1 <= num2) { printf( "%d is less than or equal to %d\n", num1, num2 ); } /* end if */ if ( num1 >= num2 ) { printf( "%d is greater than or equal to %d\n", num1, num2 ); getch(); } /* end if */ return 0; /* indicate that program ended successfully */ } /* end function main */ |
Click Here to download Compiled Software The output of the Program are shown in figure below:
Read More