Jan 03, 2014 This entry was posted in PHP System and tagged MYSQL, Online Bus Ticket Reservation, PHP, Source Code, System on January 3, 2014 by admin. Post navigation ← PHP Petshop Website System PHP/MYSQL Source Code PHP Responsive E-Learning System PHP/MYSQL Source Code →. Bus Ticket Reservation System project is a web application which is developed in PHP platform. This PHP project with tutorial and guide for developing a code. Bus Ticket Reservation System is a open source you can Download zip and edit as per you need. If you want more latest PHP projects here. This is simple and basic level small project for.
- Sep 20, 2012 Online Banking System – Download free PHP Food Corporation of India Project in asp.net with Online Auction System project in PHP free source Library management system project report – C Project Bus Reservation System project source.
- We have developed Bus Ticket Reservation System using PHP and MySQL. This is the online project works in the website. In this project Passenger books the ticket and he pays through online. This project provides bus details, route information, seats details, billing details, ticket information, seat cancellation, etc. Download Link: Bus Ticket.
C++ Project Bus Reservation System in Code::blocks
“Bus Reservation System” project is written in c++. It is very simple project just to show the implement of class and object of C++. You can understand the code easily and learn how to create class and use object in c++ for your C++ project.The tasks that user can perform in this project are listed below:
- Install the bus record
- Reservation
- Show the bus details
- Show all buses available
This project is console application without GUI. You can add many features in this project.Here data of bus information is not store in file so every run of program previous data is lost so you can implement the file handling to store all the bus details.
You can download the project for below or copy the code and compile the code in gcc compiler with code::blocks IDE.
You can download the project for below or copy the code and compile the code in gcc compiler with code::blocks IDE.
#include <conio.h>
#include <cstdio>
#include <iostream>
#include <string.h>
#include <cstdlib>
using namespace std;
static int p = 0;
class a
{
char busn[5], driver[10], arrival[5], depart[5], from[10], to[10], seat[8][4][10];
public:
void install();
void allotment();
void empty();
void show();
void avail();
void position(int i);
}
bus[10];
void vline(char ch)
{
for (int i=80;i>0;i--)
cout<<ch;
}
void a::install()
{
cout<<'Enter bus no: ';
cin>>bus[p].busn;
cout<<'nEnter Driver's name: ';
Web templates free download html code editor.cin>>bus[p].driver;
cout<<'nArrival time: ';
cin>>bus[p].arrival;
cout<<'nDeparture: ';
cin>>bus[p].depart;
cout<<'nFrom: ttt';
cin>>bus[p].from;
cout<<'nTo: ttt';
cin>>bus[p].to;
bus[p].empty();
p++;
}
void a::allotment()
{
int seat;
char number[5];
top:
cout<<'Bus no: ';
cin>>number;
int n;
for(n=0;n<=p;n++)
{
if(strcmp(bus[n].busn, number)0)
break;
}
while(n<=p)
{
cout<<'nSeat Number: ';
cin>>seat;
if(seat>32)
{
cout<<'nThere are only 32 seats available in this bus.';
}
else
{
if (strcmp(bus[n].seat[seat/4][(seat%4)-1], 'Empty')0)
{
cout<<'Enter passanger's name: ';
cin>>bus[n].seat[seat/4][(seat%4)-1];
break;
}
else
cout<<'The seat no. is already reserved.n';
}
}
if(n>p)
{
cout<<'Enter correct bus no.n';
goto top;
}
}
void a::empty()
{
for(int i=0; i<8;i++)
{
for(int j=0;j<4;j++)
{
strcpy(bus[p].seat[i][j], 'Empty');
}
}
}
void a::show()
{
int n;
char number[5];
cout<<'Enter bus no: ';
cin>>number;
for(n=0;n<=p;n++)
{
if(strcmp(bus[n].busn, number)0)
break;
}
while(n<=p)
{
vline('*');
cout<<'Bus no: t'<<bus[n].busn
<<'nDriver: t'<<bus[n].driver<<'ttArrival time: t'
<<bus[n].arrival<<'tDeparture time:'<<bus[n].depart
<<'nFrom: tt'<<bus[n].from<<'ttTo: tt'<<
bus[n].to<<'n';
vline('*');
bus[0].position(n);
int a=1;
for (int i=0; i<8; i++)
{
for(int j=0;j<4;j++)
{
a++;
if(strcmp(bus[n].seat[i][j],'Empty')!=0)
cout<<'nThe seat no '<<(a-1)<<' is reserved for '<<bus[n].seat[i][j]<<'.';
}
}
break;
}
if(n>p)
DISCLAIMERCANON U.S.A.,Inc. Canon ir 6570 error code list pdf free download for windows 7. CANON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.CANON U.S.A.,Inc. ALL SUCH PROGRAMS, FILES, DRIVERS AND OTHER MATERIALS ARE SUPPLIED 'AS IS.' MAKES NO GUARANTEES OF ANY KIND WITH REGARD TO ANY PROGRAMS, FILES, DRIVERS OR ANY OTHER MATERIALS CONTAINED ON OR DOWNLOADED FROM THIS, OR ANY OTHER, CANON SOFTWARE SITE.
cout<<'Enter correct bus no: ';
}
void a::position(int l)
{
int s=0;p=0;
for (int i =0; i<8;i++)
{
cout<<'n';
for (int j = 0;j<4; j++)
{
s++;
if(strcmp(bus[l].seat[i][j], 'Empty')0)
{
cout.width(5);
cout.fill(' ');
cout<<s<<'.';
cout.width(10);
cout.fill(' ');
cout<<bus[l].seat[i][j];
p++;
}
else
{
cout.width(5);
cout.fill(' ');
cout<<s<<'.';
cout.width(10);
cout.fill(' ');
cout<<bus[l].seat[i][j];
}
}
}
cout<<'nnThere are '<<p<<' seats empty in Bus No: '<<bus[l].busn;
}
void a::avail()
{
for(int n=0;n<p;n++)
{
vline('*');
cout<<'Bus no: t'<<bus[n].busn<<'nDriver: t'<<bus[n].driver
<<'ttArrival time: t'<<bus[n].arrival<<'tDeparture Time: t'
<<bus[n].depart<<'nFrom: tt'<<bus[n].from<<'ttTo: ttt'
<<bus[n].to<<'n';
Bus Reservation System Project In Php Source Code Free Download Version
vline('*');
vline('_');
}
Dec 01, 2019 After the product key is obtained, you can go to the activation process. What you need to do is filling the product key on the process and following the process of the activation of the ETS 2 game. It is not complicated, is it? The new feature of Euro Truck Simulator 2 Activation Code + Crack. Ets2 Serial Key – CLICK HERE ? ? Euro Truck Simulator 2 Product Key Activation Trick that Ive discovered.As you will get hold of an in-sport electronic mail a good way to free up a chief truck supplier for the preffered truck emblem you selected on your profile, it is a good concept to pick out a city in which there’s a truck provider for the logo you may use in your enterprise AI. Ets 2 activation code free shipping. Feb 25, 2020 Euro Truck Simulator 2 Crack + Product Key 2020 Updated. Take advantage of the additional features of Euro Truck Simulator 2 Crack by joining our online community at World of Trucks, our center for virtual truckers from all over the world interested in Euro Truck Simulator 2 and future SCS Software truck simulators. The player can move around the cabin, as if he were really sitting behind the. Nov 17, 2019 the real spice and treasure with Euro Truck Simulator 2 Crack Full Activation Product Key 2020 Free Download ( No Survey ) tool as much as you can. This tool will help you to become the champ of Euro Skip to content.
}
int main()
{
system('cls');
int w;
while(1)
{
//system('cls');
cout<<'nnnnn';
cout<<'ttt1.Installnttt'
<<'2.Reservationnttt'
<<'3.Shownttt'
<<'4.Buses Available. nttt'
<<'5.Exit';
cout<<'ntttEnter your choice:-> ';
cin>>w;
switch(w)
{
case 1: bus[p].install();
break;
case 2: bus[p].allotment();
break;
case 3: bus[0].show();
break;
case 4: bus[0].avail();
break;
case 5: exit(0);
}
}
return 0;
}
Tags: html source codes,c codes,c free download,borland c download,c programming books
dev c download,software free download,coding in c,c project,c programming download,php source codes,program in c,c programs examples,turbo c compiler,download turbo c,turbo c free download
dev c free download,sars source codes,turbo c compiler free download,c software download free
dev c download,software free download,coding in c,c project,c programming download,php source codes,program in c,c programs examples,turbo c compiler,download turbo c,turbo c free download
dev c free download,sars source codes,turbo c compiler free download,c software download free