I have a text file that has about a thousand pages # and I need a pseduo-code to test these page replacement algorithms for number of page faults they have.
Does anyone know where I can find the page replacement algorithms in C or C++?
I have a text file that has about a thousand pages # and I need a pseduo-code to test these page replacement algorithms for number of page faults they have.
Does anyone know where I can find the page replacement algorithms in C or C++?
Mostly they are known as MRU and LRU
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.