I started using Dev-C++ again, and in this program I'm working on I have some classes. I defined them as usual, class and then classname, open brace, code, close brace, semicolon. When I try to make an instance of my class, it keeps saying that my classes are used as a type, but not defined as a type and so on. The only way I have found to get around it is to use the old-styleI have a struct as well, and it doesn't give me these errors when I make an instance of it. What's up?Code:typedef TagClassName { }ClassName;
edit: I could also just put class before the name of my class when I make an instance of it. I still don't get this. Is this the way you are supposed to do it? I know in MSVC++ I could get by without doing this, and Dev-C++ now uses GCC 3.2, which is supposed to be a lot stricter than it used to be.