GithubHelp home page GithubHelp logo

database-in-file's Introduction

DataBase-in-File

This Java code manages a database of hospitals using a file stored in the root folder of the project. The file stores the following information for each hospital: code (4 bytes), name (40 bytes), specialty (4 bytes), and number of employees (4 bytes). The specialty is represented as a number, which represents an internal code to identify the specialty (e.g. psychiatry, rheumatology, etc.). The code provides functionality to add new hospitals to the database, and to get the last code used in the database. It also has a menu function to display options to the user.

Example

Menu

1

Option 1

1 1

Option 2

2

Option 3

3

Option 4

4

Option 5

5

database-in-file's People

Contributors

lzaruss avatar

Stargazers

Iñigo Santos avatar Victor Castrillo Redondo avatar Sayan Maity avatar Pablo Gradolph Oliva avatar  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.