I'm new to c++. I'm using visual studio professional. I'm using Allegro library to make a game. When I access an Allegro type or an std; type, intelisense shows me the members. for instance if I do buffer-> it brings up a rectangle listbox of all the class members. But when they are my types it does not work.
I made a struct called PLAYER
struct PLAYER{
int age;
int health;
bool isdead;
};
so then I expected that if I did:
PLAYER *player;
player.
that I would see the members. I tried :: , . , and -> but none work. Where am I going wrong? If I do player.health = 100; it compiles but intellisense doesnt pick up on it.
Thanks