[b][red]This message was edited by coder_man at 2006-3-26 10:7:44[/red][/b][hr]
I've got a very irritating problem and i dont know why?
The problem is with the the spawn functions like 'spawnl,spawnvd,etc'
which is used to run another programs('child processes') within your base program. PROVIDED :there is enough memory to run it.
However,whenever i use this function,it doesn't work and on checking for the error (using 'cerr()',usually),I found that it always returns :
'not enough memory',even when the program is very small e.g. #include
even this above program also fails to be called using spawn func.
ALSO give me some advice on memory management while using Turbo C++
because whenever i tries to run a background program such as WindowsMediaPlayer OR NotePad or even try to open folders in my WINDOWS XP,it takes so much time that i need to quit it before it even started!