title: C++ How can i do read/writeprocess with a given address from CE that contains a float?
body: <p>I am currently working on teleport feature for a game trainer. I found the right static addresses containing a float:</p>
  
  <p><a href="https://i.stack.imgur.com/MOGWw.png" rel="nofollow noreferrer">picture of addresses with offsets</a></p>
  
  <p>This address points to my X-coordinate. Now I am now trying to change my X-coordinate (a float) with read/write processmemory . But whatever i do it doesnt work (I have no problems with changing normal ints). I want to replace the value with a float that i choose before.</p>
  
  <p>Can somebody please give me a detailed example how i can do this ?</p>
  
  <p>Thank you in advance</p>