Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Your question isn't sequitur. The public c++ keyword enables code outside of a class to see the functions and data of a class.Hi I want to know how can I use a global variable, I used the public statement but it doesn't work.