I'm targeting a small linux system; but have been testing my basic functionality compiling for 16 bit dos so I can do windows type stuff at the same time I run my prog. Using um Borland 5.02.
When I tried to use a STL 'list', I ran into th 64k text segment limit problem but changed the target type to medium which fixed it for the time being
Unfortunately push_back crashes my program after putting about 3000 items in. I need to hold at least 30,000 preferably 120,000 elements to be safe. I'm trying to work directly with a fair sized chunk of a 300x400 image. Could this be related to my choice of targets? Would recompiling with g++ in linux be likely to help? Is there something I can do to fix it while staying in windows? Any insight would be appreciated.