I am working on a lab assignment for virtual memory and need to implement various page replacement algorithms (FIFO, LRU, Random). I am not looking to cheat or copy code from sources online, but really just need to get an understanding of how this can be done in a UNIX system with C++. The professor hasn't been much help as the description of the assignment is only half of a page and useless. Basically, I just need to understand what processes should be called in the code to get a start on this thing. So really any information about virtual memory managment coding for operating systems will be a help. I am having difficulty finding any assistance on Google. Thanks!