Hi, I have seen some function defintion like this:
virtual int test()const;
virtual int test()const = 0;
virtual int test()=0;
I am wondering what the difference among them and "const" only for virtual only? or what they mean??
Thanks
Hi, I have seen some function defintion like this:
virtual int test()const;
virtual int test()const = 0;
virtual int test()=0;
I am wondering what the difference among them and "const" only for virtual only? or what they mean??
Thanks
Don't laugh at me,I am just a SuperNewbie.