Hi :) I'm using winforms to try to make a GUI on Visual C++ 2005. Now one of the forms deals with a linked list (what's supposed to happen is that when a customer clicks the sign up button, a new customer object is appended to the end of the list). The problem is I know how to make linked lists in normal c++ (umm... like not managed, sorry I'm really bad with the terminology), but for some reason I can't define pointers in the forms. So I can't make a linkedlist, and I have no clue how to get around it.
customers * first;
gives the error C3699: '*':cannot use the indirection on type 'Ethicsprojectfinal::customers'
So I did this
customers ^first; first=0;
I get: error C2446 no conversion from 'int' to 'Ethicsprojectfinal::customers ^'
So obviously it's not a pointer, and it can't point at null. And I'm completely lost. I guess my question is is there a way to use pointers in forms? And if not, how do you make linked lists with forms?
Thanks a lot!