PDA

View Full Version : Return Val.... PLEASE READ!



minime6696
02-04-2002, 05:14 PM
How can I get the return value of "main" in a program in DOS when I execute it... I dont think I can do it with a call to system(), anyone know?

SPH :confused: :rolleyes: :confused:

no-one
02-04-2002, 05:22 PM
use the spawn*() functions instead of system().