M
Mohan
Hi,
I am learning the Exception Handling in C++. I wrote a small program using
Exception Handling. I am using Vistual Studio 6.
It is working fine in Win32 Debug build, but it is not catching the
exception in Win32Release mode.
int main(int argc, char* argv[])
{
int i = 0;
try
{
int m = 17/i;
}
catch(...)
{
cout<<"Main - Catch"<<endl;
}
cout <<"End of Main" <<endl;
return 0;
}
Could you please explain, why the Exception is not caught in the
Win32Release mode.??
Thanks
Mohan
I am learning the Exception Handling in C++. I wrote a small program using
Exception Handling. I am using Vistual Studio 6.
It is working fine in Win32 Debug build, but it is not catching the
exception in Win32Release mode.
int main(int argc, char* argv[])
{
int i = 0;
try
{
int m = 17/i;
}
catch(...)
{
cout<<"Main - Catch"<<endl;
}
cout <<"End of Main" <<endl;
return 0;
}
Could you please explain, why the Exception is not caught in the
Win32Release mode.??
Thanks
Mohan