I've seen quite a lot lately, in games or other applications that class data members, or methods or other stuff have "_" in front of the name.
For example taken fro DXUT.cpp (Directx) _Acquires_lock_(g_cs) or _Releases_lock_(g_cs) or _tmain . There are numerous examples like this in game programming like there (Taken from GameFromScratch Tutorial)
static GameState _gameState;
static sf::RenderWindow _mainWindow;
These are just some data members of some type.
Is there any reason behind the _ char? Is if specifically for something?
_Acquires_lock_and_Releases_lock_are symbols used by the Microsoft compiler to annotate locking behavior. Since those are part of Microsoft's C++ implementation, it is legal (and desirable) to have them use reserved names._.