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?