Hi,

I am not a C++ programmer but I am currently attempting to port some C++ code and have hit the following line:

virtual int GetGlobalStateType () const = 0;

I was wondering what the overall construct of the line implied. I THINK that

virtual - means that it can essentially be overriden?
int - the type returned by this method? (god I hope this is right)
GetGlobalStateType () - the method name? (god I hope this is right too lol)
cont - OK, this is the bit that I don't know....

It is that it is simply assigning the default value of the return to 0 and because that default never changes that it is infact a constant value??

Any clarification would be cool, and I probably have more on the way, this code is all smart pointers and cool crazy gubbins that don't exist in my usual language

Regards

RipX