flash memory simulation using a c++ code

Hi. I have to simulate flash memory using C++ for a project. I am quite unsure how to start. If someone could help me out, even with a basic idea, I would be grateful.
What exactly you need to simulate?
Some abstract storage your program will be using?
Some storage simulating response time and random access speed of flash memory?
To simulate existense of flash drive in your PC aka virtual flash drive?
Well as to what exactly I need to simulate, the answer would be the second and the third points raised in the message i.e. I need an abstract flash storage and I need to measure various things like access time, latency etc.
Topic archived. No new replies allowed.