Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question for the C++ gurus
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00368531
Message ID:
00368906
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform