Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recursion
Message
From
26/11/1998 20:05:37
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00160932
Message ID:
00161878
Views:
16
>Of course C++ doesn't have that, it will be perfectly happy to write over the bios if it runs out of memory.

This is not really true... If it will write or not over the bios (or any memory that it's not owned by the app) depends on the OS and C++ implementation.

Today, no serious C++ compiler will generate code that does that. As for recursion, in C++, the limit is set by the stack memory (and, of course, the heap, if the function allocates memory internally). In VC++, both will generate an exception and it will not write where not allowed.

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform