PLEASE ALWAYS USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/ http://www.cplusplus.com/articles/z13hAqkS/
Hint: You can edit your post, highlight your code and press the <> formatting button.
You can use the preview button at the bottom to see how it looks.
I found the second lint to be the most help.
ntchambers has covered the biggest point. You will find that most people "useCamelCase" to write the variable name. This is followed by the under score (_). Which should be avoided as the (_) is used in many header files and could cause a problem.
This is followed by the under score (_). Which should be avoided as the (_) is used in many header files and could cause a problem.
Huh? Can you explain what you mean by that? Why should the fact that some header files use underscores in their variable names mean that you can't use underscores in your own variable names?
I think you've drastically misunderstood something you've read somewhere. I think I can guess what that something is, but I'd like to see you explain what it is you actually believe, to confirm my suspicions.