网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

C 中exit如何用法

时间:2024-10-12 03:25:39

1、首先添加stdio.h

C  中exit如何用法

3、然后添加main函数

C  中exit如何用法

5、然后添加printf("Exiting the program....\n"); exit(0);

C  中exit如何用法

7、运行程序看看运行结果

C  中exit如何用法
© 海能知识库