This is a discussion on C++ Noob Class Confusion within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by Freestyler Why do you believe my "QString File;" is not having any global affect? And what is ...
I am also somewhat distrusting as why you need to share this ... data between your classes?
The idea is that a class is a unique instance of something--an object. Just as you can have a thousand cars from the same blueprint.
The global File can still be accessed via ::File.
For information on how to enable C++11 on your compiler, look here.