May 9, 2005 #1 cmancre Programmer Jan 30, 2005 35 PT Hello Can i handle erros in C with try{ ... } catch(exception ){ } if yes, how is with "segmentation faul" ...C
Hello Can i handle erros in C with try{ ... } catch(exception ){ } if yes, how is with "segmentation faul" ...C
May 9, 2005 #2 chipperMDW Programmer Mar 24, 2002 1,268 US Can i handle erros in C with try{ ... } catch(exception ){ } Click to expand... Nope. That's C++ or Java. The closest thing Standard C has to exception handling is the set of functions [tt]setjmp[/tt] and [tt]longjmp[/tt]. Upvote 0 Downvote
Can i handle erros in C with try{ ... } catch(exception ){ } Click to expand... Nope. That's C++ or Java. The closest thing Standard C has to exception handling is the set of functions [tt]setjmp[/tt] and [tt]longjmp[/tt].
May 9, 2005 #3 ArmenD Programmer Feb 3, 2005 101 US pretty much, http://www.swig.org/Doc1.1/HTML/Exceptions.html#n2http://c.ittoolbox.com/documents/document.asp?i=247 Upvote 0 Downvote
pretty much, http://www.swig.org/Doc1.1/HTML/Exceptions.html#n2http://c.ittoolbox.com/documents/document.asp?i=247