Hey, I have a little doubt:
As I have an infinite loop, my app wouldn't terminate by itself... of course...Code:int main()
{
while(true)
{
// do something in a infinite loop
}
// call last_function()
return 0;
}
But, if I terminate it through Windows Task Manager, will the "last_function()" be called?