declaring identifiers

when you declare identifiers in the Decleare global variables and constants section, how to you place two of them? e.g. i already have which works…

circle myCircle;
// declare instance of circle structure
called myCircle

but when i place another like this…
ellipse myEllipse;

it dont work?

why is this? how do you place other variables and constants?

lv jofoxy

Please show me some more code so i can help you.

2. Decleare global variables and constants
circle myCircle; ***this works
ellipse myEllipse; ***this dont


Well, have you declared the eclipse class?
Also, I doubt that this is the problem, but once I couldn’t declare another member inside my class because the destructor of one of my classes was messed up. Pretty messy, so I doubt this is the case.