An interesting discussion about this started here but no one have been able to provide the C++ way of doing:
#include <stdio.h>
int main(void)
{
  int* address = (int *)0x604769; 
  printf("Memory address is: 0x%p\n", address);
  *address = 0xdead; 
  printf("Content of the address is: 0x%p\n", *address);
  return 0;
}
What is the most appropriate way of doing such a thing in C++?
 
     
     
     
     
     
    