i learnt using yhe dos commands in the
program itself by using the int system(char *p)
function from the process.h header file.
but i get an error saying that
there is not enough memory.(ENOMEM error vlue in 'errno')
i get the same error when i use the spawn function
by putting the cmd's value as P_WAIT.
but not when i give the value as P_OVERLAY.
my operating system is win xp proffessional
does that also matter?because i recieved i symultaneous error from the system via GUI.