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] |
Oh, shit, Thank you Andrew & Axel. On Tue, 2009-10-27 at 11:34 +0000, Andrew Haley wrote: > Mohsen Pahlevanzadeh wrote: > > My main file: > > int main(){ > > module_management *x; > > x.printg(); > > } > > Well, that's not going to work, is it? x is a pointer, not > an object. You need > > x = create_object("mikrotik"); > x->printg(); > > Andrew.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |