Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Confusing Conundrum

Name: Anonymous 2007-01-31 10:58

I have a question about class inheritance:
I create two classes such as this:

class Student {};
class GraduateStudent : Student{};

initialize like so:

Student* pStudent;
pStudent = new Student();

and I get "55 expected constructor, destructor, or type conversion before '=' token"
the thing is though, only in my current project...if i just create a new one, it compiles just dandily. any clue what's happening? I'm using the latest dev-cpp, btw. Is it some sort of compiler option that I would have added to my project?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List