This Repository contains 3 separate codes (FIFO PageFault.cpp, LRU PageFault.cpp and Optimal PageFault.cpp) and 1 Readme file. To run the codes,
- (1) Clone the repository.
- (2) In the obtained folder, go to the address bar and type 'cmd'. This opens the command line. (or open command line and navigate to the folder manually)
- (3) In the command line, type -> g++ FIFO PageFault.cpp or -> g++ LRU PageFault.cpp or -> g++ Optimal PageFault.cpp To compile the respective codes
- (4) Once compiled, type 'a' to run the executable file created.
- (5) The programs are designed to be intuitive. Follow the instructions as and when prompted.