“Traveler’s” is a project made for bus ticket booking system which can be used in small ticket counters. For this project, 40 seater bus has been taken as reference. The passenger’s details along with staff details are saved in a file for securing the file for future use. For security purpose, this project has been made password protected, due to which only authorized person can have access to the program. To make ticket booking process faster and easier, graphical representation for availability of seat has been added to this project. The main motto of this project is to make digitalize the ticket booking process reducing the use of paper.
Project Features
The features of this project are as given below:
- New records can be added easily.
- Employees details can be saved and modified at any time.
- It saves the passenger’s information like named, destination and seat number and side.
- It shows graphical representation for availability of seat i.e. green and red colors indicates that the seat is not booked and booked respectively.
- Since it is password protected, no person other than admin can use this program, So, it is secure.
- It produces beep sound in case of unauthorized person tries to unlock the program.
- The files that stores the data provided to the program are separately saved in a specific directory. So there is no chance that the file will get lost.
How to download code?
- Click here for source code.
- New window will open where there is a source code of this project. You need to download all the files and place all of them in same folder.
- Remember that this project runs in Turbo C++.
Demo of this game :
Check out the following video related to this project.
For more source code and tutorial, SUBSCRBE to my YouTube channel.
Development platform
Computer programming language has been used to develop this project.
Compiler
Turbo C++ has been used as compiler in this project. The version of the the compiler used is 3.7.8.9.
Header files used
The header files used in this project are as follows :
- Conic
- Ctype
- Dos
- Graphics
- Stdio
- Stdlib
- String
Library functions
The following library functions has been used :
- Under conio header file
- Clrscr
- Getch
- Under ctype header file
- Isalpha
- Isdigit
- Under dos header file
- Gotoxy
- Under graphics header file
- Arc
- Circle
- Closegraph
- Exit
- Floodfill
- Initgraph
- Line
- Outtextxy
- Rectangle
- Setcolor
- Setfillstyle
- Settextstyle
- System
- Under stdio header file
- Fclose
- Fopen
- Fread
- Fwrite
- Fflush
- Printf
- Remove
- Rename
- Rewind
- Scanf
- Under stdlib header file
- Delay
- Under string header file
- Atoi
- Strcat
- Strcmp
- Stcpy
- Strlen
- Strupr
- sound
- nosound
Concepts used
Topics/ concepts of this language that you need to know for making this type of game :
- Array
- Function
- File handling
- For looping statement
- Graphics
- If else conditional statement
- Preprocessor
- Structure
- Switch case
- While looping statement
No comments:
Post a Comment