Can someone just explain to me about all the return value in c++?
return -1; indicates an error
return 0; indicates success, and exit from program
return 1; do this return just int(value) of 1?
return ; What is the default value when return nothing?
WHEN do I know when to use which return value?
THANKS for helping a newbie.