Thanks,  but can you point me in the right direction.  The code bellow does
not build.  Am I doing something wrong with the struct?

typedef struct dbnames {



    short  Handle;

short Version;

int   Size;

int        NumEntries;

    char       Name[ 32 ];

     dbnames()

:Handle(-1),

Version ( 0),

Size (0),

NumEntries ( 0),

{

Name[0] = '\0';

}

     dbnames( struct dbnames const& other )

:Handle( other.Handle ),

Version( other.Version ),

Size( other.Size ),

NumEntries( other.NumEntries )

    {

        for ( unsigned int i = 0; i < sizeof( Name ); i ++ )

{

            Name[i] = other.Name[i];

}

    }



};
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to