I am practicing to write codes and checking their results on the console window these days. and the processor of the console window always hangs and it bothers me because I always have to kill them after I try a certain number of times to write codes. it just stays so many so visual studio says it can't make any more processor.
and now I just found why. it is because I always use
#include<stdlib.h>
at the top of my code and
system("pause")
at the end of the code.
it is necessary to check the result of the code with time, otherwise the console window disappears just right after it appears.
Question 1 : I have seen many people just write their code without system("pause") here, how do you guys check your result?
Question 2 : How can I not make anymore processor of console window except one?