According to all the book that I readed, the main() function should return integer value to the operating system to indicating its successfulness. But is there any way to capture this return value in Windows?
I've tried to get the return value from system() function when using it to invoke a program, but it always return 0.
I've tried to get the return value from system() function when using it to invoke a program, but it always return 0.