Code Monkey home page Code Monkey logo

bus-station's Introduction

bus-station

The Bus Station project in C. Done for Polsl end of semester purpose

Score: 27/30 -> 90%

Napisz program, który przygotuje listy pasażerów autobusu. Pasażerowie mogą rezerwować bilety na różne trasy w różnych biurach i przez internet. Wszystkie rezerwacje są zapisywane w centralnym rejestrze. Centralny rejestr ma następującą postać:

kod trasy punkt startowy data startu rrrr-mm nazwisko pasażera nr miejsca
15551 Katowice 2011-12-13 Jaworek 33
15551 Katowice 2011-12-13 Kowalski 02
15551 Katowice 2011-12-13 Szybki 12
15551 Katowice 2011-12-13 Biały 43
15651 Warszawa 2012-02-03 Hastings 02
15651 Warszawa 2012-02-03 Poirot 23
15651 Warszawa 2012-02-03 Holmes 11
15651 Warszawa 2012-02-03 Lemon 43

Na podstawie pliku z rezerwacjami należy stworzyć plik z listą pasażerów dla każdego przystanku. Nazwą pliku jest Kod trasy. W pliku umieszczone są: kod trasy, i lista pasażerów posortowana według numerów siedzeń:

  • Symbol trasy: 15551
  • Punkt startowy: Katowice
  • Data: 2011-12-13
  • 02 Kowalski
  • 12 Szybki
  • 33 Jaworek
  • 43 Biały

Liczba rezerwacji: 4

Program uruchamiany jest z linii poleceń z wykorzystaniem następującego przełącznika: -i plik wejściowy z rezerwacjami

bus-station's People

Contributors

ferror avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.