Afficher un message
Vieux 18/10/2007, 16h55   #1
horacius.rex@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Allocationg memory: contigously ?

Hi,

if I allocate memory in a simple program like

int* pint1=new[1000];
int* pint2=new[1000];
int* pint3=new[1000];

then memory is allocated on the heap. My question is if this three
"memory fragmetns" are allocated contigously. And if not, what could I
do to allocate them contigously.

Thanks

  Réponse avec citation
 
Page generated in 0,04149 seconds with 9 queries