Hi
How do I store data at a given memory location? For eg: I want to store 25 at location 1000. How do I do it? I tried using placement new(). But it is giving segmentation fault during runtime.
Thanks
How to store data at a given location
|