Hi,
I know that size of empty class is 1 byte. But when we write a class
compiler will provide , default constructor , default destructor , copy
constructor (shallow) , and one assignment operator overloading functions
whether the class is empty or not. So , in copy constructor , and in assigment
operator methods , the implementation wil use "this" pointer. So the empty
class should have one hidden this pointer. and when we create object , the this
pointer will start pointing to the current object. So the size of empty class
shuld be atleast size of a pinter (2 bytes , but depends on compiler). Could
you please clarify!
Thanks&Regards,
Gopi.k
"Victor A. Wagner Jr." <[EMAIL PROTECTED]> wrote:
At 18:19 2007-05-04, Mickey Mathieson wrote:
>--- honey eng <[EMAIL PROTECTED]> wrote:
>
> > I want to know how to read from file
> >
> >
> > ---------------------------------
> > Expecting? Get great news right away with email
> > Auto-Check.
> > Try the Yahoo! Mail Beta.
> >
> > [Non-text portions of this message have been
> > removed]
> >
> >
>what kind of file - binary or text?
and what language - C or C++ ?
>Mickey M.
>Construction Partner Inc.
>http://www.constructionpartner.com
Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
"There oughta be a law"
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
[Non-text portions of this message have been removed]