POV-Ray : Newsgroups : povray.off-topic : c++ memory question : Re: c++ memory question Server Time
11 Oct 2024 11:09:55 EDT (-0400)
  Re: c++ memory question  
From: Samuel Benge
Date: 2 Oct 2007 18:47:33
Message: <4702ca85@news.povray.org>
Vincent Le Chevalier wrote:
> What you make whith the instruction int i[20]; is a static array, that 
> is allocated in the stack if I remember correctly. You do not have to 
> manage the memory in the stack, so no free or delete.

Hmm, that's good to know.

> Try googling for "static dynamic array C++", it should bring you 
> something useful...
> 
> Hope this helps

Yes, it does. Thanks! I'm off to use Google for the umpteenth time today!

Sam


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.