Skip to content

Commit cf72998

Browse files
committed
Update README.md
1 parent 4e5e302 commit cf72998

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

README.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,37 @@
44

55
This program is a system programming assignment for the university course "Κ24 System Programming". It's designed to manage patient records using custom-implemented data structures that emulate the functionality of the Standard Template Library (STL).
66

7-
## Files and Modules
7+
### Compilation
8+
9+
Compile the code using a C++ compiler:
10+
11+
```bash
12+
g++ -o programName *.cpp -I.
13+
```
14+
15+
### Execution
16+
17+
Run the program with the following command:
18+
19+
```bash
20+
./programName -p <patient_records_file> -h1 <disease_ht_entries> -h2 <country_ht_entries> -b <bucket_size>
21+
```
22+
23+
### Examples of test files:
24+
25+
- sample.txt: Contains a small set of sample records for quick testing.
26+
- sample2.txt: Contains a small set of sample records for quick testing.
27+
- small.txt: A larger dataset to test the program's performance and capabilities.
28+
- medium.txt: An even larger dataset
29+
- large.txt: An even larger dataset
30+
31+
### Files and Modules
832

933
- main.cpp: Initializes and orchestrates the data processing workflow.
1034
- diseaseMain.cpp: Handles disease-specific queries and operations.
1135
- .cpp and .h files: Contain custom data structures mimicking STL components like linked lists, AVL trees, hash tables, heaps, etc.
1236

13-
## Project Structure
37+
### Project Structure
1438

1539
The project is structured with separate .cpp and .h files for each custom data structure and utility function, providing a learning platform for system programming and data structure implementation.
1640

0 commit comments

Comments
 (0)