Mail Archives: djgpp/1999/07/30/07:01:44
Hi all,
well... here is another question about C++!
well... suppose we have this class definition...
class point
{
int x;
void some_func();
public:
void draw_it();
}
Now... some_func() was NOT in the .cpp file!! it is in
an asm file and compiled using NASM, not djgpp!
I dunno what to call the routine some_func() in the
assembly file! if i call it _some_func, ALL classes
will have access to it!
also, how to make it access the member x?
what if some_func is in the public section?
what if it have parameters?
Thanx a lot in advance!
URS,
Mohamed El Dawy
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com
- Raw text -