G
Gunnar Beushausen
Hi!
I need a class to store the users data (ID, name etc.) that is accessible
from anywhere.
At application startup the class gets filled with its data about the user.
But how can i access this data from all other classes?
Normally to get access, i would have to say something like UserData *UD =
new UserData; But this way a new class gets instantieted. What can i do to
access the data from anywhere?
Thanks in advance
Sven
I need a class to store the users data (ID, name etc.) that is accessible
from anywhere.
At application startup the class gets filled with its data about the user.
But how can i access this data from all other classes?
Normally to get access, i would have to say something like UserData *UD =
new UserData; But this way a new class gets instantieted. What can i do to
access the data from anywhere?
Thanks in advance
Sven