I have a public class member using a global variable and its causing my program to crash. How would I use the global variable since its not in my class member? I was thinking by using a pointer but I am not sure how to use pointers correctly.