create an object with variable CLASS

Andrew Haley aph@redhat.com
Tue Oct 27 11:01:00 GMT 2009


Mohsen Pahlevanzadeh wrote:
> i define an object from class base & call dosomthing & get gollowing
> error:
> request for member ‘dosomthing’ in ‘base’, which is of non-class type
> ‘Base*’

Please post the source.

Andrew.



More information about the Gcc-help mailing list