Pure C++ Programmer curiosity
Let me start by saying that I search an answer from someone who is absolutely sure of what he/she says. Though you can still answer with your hunches as long as you mark them as such.

Simple(probably not) question:

-How does a C++ compiler(any) compiles variable names? Does it simply changes them into the memory addresses?.

P.S. Just if you happen to know this: how do videogame's cheat databases for cheat devices such as Gameshark know the adress where, let's say, player's health is stored? Are variables given a specific address (which would answer my previous question)? Or are the cheat databases values variable's names instead of memory adresses?

Excuse my poor english.

João Silva.
Pure C++ Programmer curiosity
===

Let me start by saying that I search an answer from someone who is absolutely sure of what he/she says. Though you can still answer with your hunches as long as you mark them as such.

Simple(probably not) question:

-How does a C++ compiler(any) compiles variable names? Does it simply changes them into the memory addresses?.

P.S. Just if you happen to know this: how do videogame's cheat databases for cheat devices such as Gameshark know the adress where, let's say, player's health is stored? Are variables given a specific address (which would answer my previous question)? Or are the cheat databases values variable's names instead of memory adresses?

Excuse my poor english.

João Silva.