Code Monkey home page Code Monkey logo

university-db's Introduction

              _                    _ _                   _ _     
             (_)                  (_) |                 | | |    
  _   _ _ __  ___   _____ _ __ ___ _| |_ _   _ ______ __| | |__  
 | | | | '_ \| \ \ / / _ \ '__/ __| | __| | | |______/ _` | '_ \ 
 | |_| | | | | |\ V /  __/ |  \__ \ | |_| |_| |     | (_| | |_) |
  \__,_|_| |_|_| \_/ \___|_|  |___/_|\__|\__, |      \__,_|_.__/ 
                                          __/ |                  
                                         |___/                   

Description

University-DB and University-DB++, coded in C++, offers a comprehensive academic database solution. It handles student, faculty, and staff records, enabling storing, adding, displaying, searching, sorting, deleting, editing, and managing data with ease.

Requirements

The program meets the following requirements:

0x0C

  • Storing student records with the following structure: Name, surname, address, index number, PESEL number, gender
  • Adding new students
  • Display of the entire database
  • Search by last name
  • Search by PESEL number
  • Sorting by PESEL number
  • Sort by last name
  • Delete by index number
  • Validation if the PESEL number is correct, according to Wikipedia - correctness of PESEL
  • Loading from a file and saving the entire database to a file

0x1A

  • Storing records of university employees for work: name, surname, PESEL number, gender, address, earnings
  • All persons, whether they are employees or students, are to be kept in one container
  • Filling the database with artificial data
  • Modification of earnings by searching for a person by PESEL number
  • Sort by salary

Instructions

To compile and run a program using CMake, follow these steps:

  1. Make sure you have CMake installed and a C++ compiler compliant with C++11 or later.
  2. Clone the University-DB repository to your local computer.
  3. Go to the project directory.
  4. Execute the following commands:
mkdir build
cd build
cmake ..
make

After successfully compiling, run the program.

./university-db

Launching the tests

./university-db-ut

0x1A

./university-db [--generate | -g]

Authors

  • Andrzej Słomka

university-db's People

Contributors

sl0mek avatar

Watchers

 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.