Hi,
I am a beginner in C/C++ .
I have been given a task in my school .

the task is i have to write funtions to write and read from memory dircetly.

like :

void WriteToMemory(address , databuffer , sizeofdatabuffer)

void ReadFromMemory(address ,databuffer ,sizeofdatabuffer)

any gurus can help me on how to do this?

note : i have to write data to particular address (starting address).

thanks.