Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
Banner Added
Browse files Browse the repository at this point in the history
  • Loading branch information
PP-Namias committed Dec 15, 2022
1 parent b548fdc commit c787a18
Show file tree
Hide file tree
Showing 25 changed files with 77 additions and 25 deletions.
Binary file not shown.
Binary file modified .vs/CarDealership/v17/.suo
Binary file not shown.
Binary file modified .vs/CarDealership/v17/Browse.VC.db
Binary file not shown.
Binary file not shown.
Binary file removed Car Dealership Management Program FOP.docx
Binary file not shown.
41 changes: 20 additions & 21 deletions CarDealership/CarDealership.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
#include <limits>
#include <ios>


class HeaderClass {
public:
void titleText(std::string TitleText) {
Expand Down Expand Up @@ -1270,16 +1269,16 @@ int main()
user = userHider;
}

FontTextColor.fontTextColor(9);
std::cout << " Password: ";
FontTextColor.fontTextColor(11);
FontTextColor.fontTextColor(9);
std::cout << " Password: ";
FontTextColor.fontTextColor(11);

int i = 0;
int i = 0;

std::string passHider;
char c_pass;
std::string passHider;
char c_pass;

do {
do {
c_pass = _getch();
switch (c_pass) {
case 0:
Expand All @@ -1304,7 +1303,7 @@ int main()
}
} while (c_pass != 13);

if (passHider.length() == 0) {
if (passHider.length() == 0) {
system("CLS");
system("COLOR 4f");
std::cout << "\n Please enter Password!" << std::endl;
Expand All @@ -1314,22 +1313,22 @@ int main()
goto AdminLogin;
}

else {
else {
pass = passHider;
}

// Loading XD
FontTextColor.fontTextColor(9);
std::cout << "\n Verifying your login details please wait";
for (int i = 0; i < 6; i++)
// Loading XD
FontTextColor.fontTextColor(9);
std::cout << "\n Verifying your login details please wait";
for (int i = 0; i < 6; i++)
{
std::cout << ".";
Sleep(500);
}

std::ifstream input("Text Files/Admin.txt");
std::ifstream input("Text Files/Admin.txt");

while (input >> u >> p)
while (input >> u >> p)
{
if (u == user && p == pass)
{
Expand Down Expand Up @@ -1363,9 +1362,9 @@ int main()
goto AdminLogin;
}
}
input.close();
input.close();

if (adminlogin == 1)
if (adminlogin == 1)
{
// Loading screen
system("CLS");
Expand Down Expand Up @@ -3593,8 +3592,8 @@ int main()
}
}

// Wrong login
else
// Wrong login
else
{
// system title
system("TITLE Car Dealership Management Program [Error Wrong login]");
Expand Down Expand Up @@ -4383,4 +4382,4 @@ int main()

goto OrderCars;
}
}
}
11 changes: 11 additions & 0 deletions CarDealership/x64/Release/CarDealership.exe.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\x64\Release\CarDealership.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>
Binary file added CarDealership/x64/Release/CarDealership.iobj
Binary file not shown.
Binary file added CarDealership/x64/Release/CarDealership.ipdb
Binary file not shown.
36 changes: 36 additions & 0 deletions CarDealership/x64/Release/CarDealership.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
 CarDealership.cpp
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(1131,11): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(1203,12): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(1372,14): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(1429,15): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(1469,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(1573,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(1606,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(1644,18): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(1766,17): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(1907,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(2074,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(2247,15): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(2289,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(2322,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(2459,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(2778,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3021,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3053,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3131,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3293,16): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3464,15): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3495,15): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3526,15): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3550,15): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3619,12): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3829,14): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3862,14): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3886,14): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3952,12): warning C4309: 'initializing': truncation of constant value
C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\CarDealership\CarDealership.cpp(3989,12): warning C4309: 'initializing': truncation of constant value
Generating code
Previous IPDB not found, fall back to full compilation.
All 352 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
CarDealership.vcxproj -> C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\x64\Release\CarDealership.exe
Binary file added CarDealership/x64/Release/CarDealership.res
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.33.31629:TargetPlatformVersion=10.0.19041.0:
Release|x64|C:\Users\jkrbn\Downloads\Car-Dealership-Management-Program\|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added CarDealership/x64/Release/vc143.pdb
Binary file not shown.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Car-Dealership-Management-Program
<p align="center">
<img src="images/banner.png" alt="Banner">
</p>

# Car Dealership Management Program
This project, which is a topic of the Fundamentals of Programming course, involves creating a car dealership management entirely in C++. We are pleased to announce the release of a convenient console application for performing management system tasks like adding new car(s) to a data set, modifying and deleting car(s) from a data set, exporting order logs, etc.

### Programmer: Jhon Keneth Ryan B. Namias
Expand All @@ -14,7 +18,7 @@ This project, which is a topic of the Fundamentals of Programming course, involv
## Features
Planned (✘) and currently working (✓) - but not necessarily fully completed - features:

### Admin
### Admin
- ✓ Edit Employee Data
* ✓ Add Employee Data
* ✓ Display Employee Data
Expand Down Expand Up @@ -102,11 +106,11 @@ However, only those with admin level access may view the order logs and edit a c

## How to Run

### Requirements
### Requirements 🧾
- Download and Install Microsft Visual Studio 2019 or higher version.
- Download and Install MinGW driver

### Setup
### Setup 🖥️
1. Clone the repository or Download and Extract the source code zip file.
2. Open the extracted file and open "CarDealership.exe"
3. That's it.
Expand Down
Binary file added images/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added x64/Release/CarDealership.pdb
Binary file not shown.

0 comments on commit c787a18

Please sign in to comment.