本文介绍了C中的例外情况的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!



我知道通过使用setjmp和longjmp函数可以在C中实现异常。



有没有人知道这样一个很好的实现。

这里的代码项目我找不到一个,但肯定有人已经做到了。



最好的问候

HENNING

Hi everybody!

I know that by using the "setjmp" and "longjmp" -functions one can implement exceptions in C.

Does anyone know of a nice implementation of such a thing.
Here on Code Project I was not able to find one, but surely someone has already done it.

With best regards
HENNING

推荐答案



这篇关于C中的例外情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 12:27