title: C++ force variables to a fixed memory location
body: <p>I  have written a C++ code for application, in which there are some variables that must have different values for every user will use it ( lets call it the variable X for simplicity)</p>
  
  <p>X have different values for different user. This (X)should be not changed and also embedded in the exe itself ( so I can't read it from a file or any other similar solution) </p>
  
  <p>I don't want to distribute the source code then compile. Instead, I want a method that makes me edit the final exe directly without need to compile ( it is just value of variable X which differs !) Is this possible ?</p>
  
  <p>My idea to do this is if I can force this (X) at a constant memory location, I can then edit its value easily from Hex-editor as example. ( I mean the same ideas when hackers writes cheat tool for a certain game )</p>
  
  <ol>
  <li>Is the mechanism of fixed memory position possible? </li>
  <li>Is there any other idea to make what I want?</li>
  </ol>
  
  <p>I hope my question is clear enough</p>