Thread: C++ Arrays
View Single Post
Old 11-09-2006, 01:27 PM   #7 (permalink)
noobie
Forum Expert
 
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
Default

yes, it is called dynamic allocation and if you use arul's (first) example, memory is allocated in compile time.

if you use C++, get used to pointers..
__________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
noobie is offline   Reply With Quote