M
Matt
Are Case #1 and Case #2 the same? It seems functionality identical? If they
Or which one is better? Please advise. Thanks!!
case #1:
=======
try
{ //code1
}
catch(...)
{ //catch for code1
}
try
{ //code2
}
catch(...)
{ //catch for code2
}
case #2:
=======
try
{ //code1
//code2
}
catch(...)
{ //catch for code1
}
catch(...)
{ //catch for code2
}
Or which one is better? Please advise. Thanks!!
case #1:
=======
try
{ //code1
}
catch(...)
{ //catch for code1
}
try
{ //code2
}
catch(...)
{ //catch for code2
}
case #2:
=======
try
{ //code1
//code2
}
catch(...)
{ //catch for code1
}
catch(...)
{ //catch for code2
}