This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: create an object with variable CLASS


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]