Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question for the C++ gurus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00368531
Message ID:
00368906
Vues:
19
Charlie,

Garbage collection ain't perfect either.

C++ also supports block scoped items:
void MyFunc( void )
{
int i; // on the stack
SomeClass o; // o the object reference o will be on the stack

o = new SomeClass; // the actual object is on the heap

for ( i = 0; i < 10; i++ )
   {
   int j; // create a new stack item j
   j = i * i;
   }

// j no longer exists

}
>
>Yeah, I read about the garbadge collection stuff.
>
>Its not until I started learning C++ did I really begin to appreciate the utilty of programs like VFP and JAVA.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform