Skip to content

Commit 16a5799

Browse files
committed
bug fixes and performance improvements
1 parent a2243a1 commit 16a5799

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Bus Reservation System Management Project based on `Object Oriented Programming`
44

55
## Usage
66

7-
* Get the latest version of Mingw-w64 via MSYS2, which provides up-to-date native builds of GCC, Mingw-w64, and other helpful C++ tools and libraries. Click here to download the MSYS2 installer. Then follow the instructions on the MSYS2 website to install Mingw-w64.
7+
* Get the latest version of Mingw-w64 via MSYS2, which provides up-to-date native builds of GCC, Mingw-w64, and other helpful C++ tools and libraries. [https://github.com/msys2/msys2-installer/releases/download/2022-06-03/msys2-x86_64-20220603.exe][Click here] to download the MSYS2 installer. Then follow the instructions on the MSYS2 website to install Mingw-w64.
88

99
* Navigate to `src` folder
1010

@@ -15,7 +15,7 @@ cd src
1515
* Run command
1616

1717
```bash
18-
g++ main.cpp bus.cpp ticket.cpp
18+
g++ -o main main.cpp
1919
```
2020

2121
* Run `.exe` file in `src` folder

src/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include "bus.cpp"
55
#include "ticket.cpp"
66
#include "utils.h"
7-
// #include "customer.h"
87

98
using namespace std;
109

src/utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
using namespace std;
99

10-
void printHeading(char *header)
10+
void printHeading(string header)
1111
{
1212
cout << "\n\n\n\n";
1313
cout << "\t\t\t\t\t\t\t\t\t\t==========================================================\n";

0 commit comments

Comments
 (0)