Is it possible to kill a 'c++' program automatically after it runs for say 1 second because if its run time is greater than that most probably there is an infinite loop which will hang the computer if it isn't manually killed from task-Manager(which I myself do in these situations).
Is it possible to kill a 'c++' program automatically after it runs for say 1 second because if its run time is greater than that most probably there is an infinite loop which will hang the computer if it isn't manually killed from task-Manager(which I myself do in these situations).