I have a C program (as mentioned) to be ported to UNIX. Whenever I compile this code in UNIX, i get the following error:
`__try' undeclared (first use in this function)
The code section inside __try will surely throw error in some conditions and hence has to be caught.
Please suggest me the equivalent of __try/__except in the line of try/catch for C in UNIX.
Please make it quick as it is very essential for the project.
/* Operation Code here */
/* This will certainly throw error, which has to be caught in __except(1) */
/* Some Code here */