Skip to content

A Simple Train Ticket System Exercise for NTUST NGLab

Notifications You must be signed in to change notification settings

Jackxul/NGLAB_Ticket_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGLAB_Ticket_System

A Simple Train Ticket System Exercise for NTUST NGLab

Motivation and Goal 🚩

  • Improve one's programming skill
  • Know how to use Github more proficiently
  • Learn about the flow of how to build a project

wakatime

How to clone and run the project ✍️

clone

git clone  git@github.com:Jackxul/NGLAB_Ticket_System.git

before build

build tool

sudo apt update
sudo apt install build-essential

library

sudo apt-get install libncurses5-dev libncursesw5-dev

start

cd NGLAB_Ticket_System
make
./exe/start

clean

make clean

Structure 👷‍♂️

.
├── Makefile
├── README.md
├── build
│   ├── account.o
│   ├── admin.o
│   ├── main.o
│   ├── map.o
│   ├── select.o
│   ├── station.o
│   └── user.o
├── exe
│   └── start
├── include
│   ├── account.h
│   ├── admin.h
│   ├── map.h
│   ├── select.h
│   ├── station.h
│   ├── station_in.h
│   ├── station_out.h
│   └── user.h
├── ref
│   └── station_map.png
└── src
    ├── Makefile
    ├── account.c
    ├── admin.c
    ├── main.c
    ├── map.c
    ├── select.c
    ├── station.c
    └── user.c

To Do List 🔧

Ticket System
│ 
├── User mode
│   ├── Buy Card(Account init ---> account.h)
│   ├── Take MRT(Account set station info ---> account.h)
│   ├── Add value(Top up)
│   └── Buy one-way ticket( ? )
│ 
└── Admin mode
    ├── Set station info(Login for setting ---> station.h)
    ├── Set station info( set station info ---> station.h )
    ├── Store user info( ? )
    ├── Search user info( ? )
    └── Define station fee(Fee algo ---> map.h)

Station map 🗺️

Charge_Fee

Map_reference

MRT_Map

About

A Simple Train Ticket System Exercise for NTUST NGLab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published