create an object with variable CLASS

Mohsen Pahlevanzadeh mohsen@pahlevanzadeh.org
Tue Oct 27 11:59:00 GMT 2009


printg == dosomthing
base == x
Base == module_management

On Tue, 2009-10-27 at 11:07 +0000, Andrew Haley wrote:
> Mohsen Pahlevanzadeh wrote:
> > On Tue, 2009-10-27 at 10:49 +0000, Andrew Haley wrote:
> >> 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.
> 
> That is the wrong source.  Please post the source that results in the
> error message.  ‘dosomthing’ does not appear anywhere in that source.
> 
> Andrew.
> 




More information about the Gcc-help mailing list