#include <stdio.h>
#include <setjmp.h>
#define print(args...) fprintf(stdout, ##args)
jmp_buf b;
void f() {
longjmp(b, 1);
}
int main() {
if (setjmp(b)) {
printf("world!\n");
} else {
printf("hello ");
f();
}
return 0;
}
c语言 时光倒流函数
最新推荐文章于 2023-10-27 13:36:36 发布