as i belive...

heap in c++ (under DOS) is the first 640 kB and i got to alloc about 5mb, so i ran out of memory (i can't alloc everything i need), and also i can't make new dynamic variables...

must be a way to alloc a lot of memory i need at least 5mb...