Book a Demo

Author Topic: Static global variable in c++  (Read 2333 times)

sravan

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Static global variable in c++
« on: April 11, 2011, 02:24:20 pm »
We have declared some static global variables in a class. They are present in the .h file but are not getting reflected as global variables in the .cpp file of the corresponding class code. We are declaring them as global variables in .cpp file to use them. Is there any other way of dealing with these variables in order to use them in .cpp file.