Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New VB Features
Message
 
À
09/10/2000 16:27:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00425458
Message ID:
00427060
Vues:
24
>>How about a couple. First, a structure is a contiguous area of memory. It may contain pointers to non-contiguous areas. That's dissimilar. A structure has no methods, although it would be able to hold a pointer to a callback function.
>
>I agree with your definition with the exception that in C++, a structure can have member functions (aka methods). In C++, a structure and class are equivalent except that structure members default to public visibility and class members default to private visibility.

Albert,

I was speaking from purely a VFP POV when interfacing with a DLL requiring a structure.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform