This is a management system for the health center at IIT-Jodhpur. It was developed as a course project for CS212: Object Oriented Analysis & Design by Devin, Kartik & Mahendra.
The aim of this project was to help develop an understanding (via an exemplar implementation) of object-oriented design of systems.
Owing to the object-oriented design, first the actors of this system were recognized along with their interactions with the system. This was consolidated in the form of the following:
- Class Responsibility & Collaboration a.k.a. CRC cards
- Use-Case diagram
- Class diagram
- Activity diagram
Note: the above visualisations have been created with the help of a great modeling tool StarUML.
For more 'object-oriented' details head over here.
There is just the additional requirement of curses library to stop echoing the entered password on the terminal.
MinGW was used at the time of development. To add ncurses.h library, simply type the following on powershell/command prompt:
mingw-getThe MinGW installation window would open, in which you need to select libncurses (both dev and dll) and install them. After that run the following command to compile the program:
g++ *.cpp -lncursesFinally, double click on the executable created (by the name of a.exe)
To get ncurses.h, use the following apt-get command:
sudo apt-get install libncurses-devAfter that simply run make to get the hc.out executable:
make
./hc.outIf due to some reason, you don't have make, run the following command to compile and then run the program:
g++ *.cpp -lncurses
./a.out