在C使用`#pragma` [英] Use of `#pragma` in c

查看:143
本文介绍了在C使用`#pragma`的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能告诉我的#pragma 的在C使用一个例子。

Can you tell me a usage of #pragma in c with an example.

推荐答案

#编译'是编译器指令是机器特定的或操作系统特有的,也就是说,它告诉编译器做一些事情,设置一些选项,采取一些行动,覆盖某些默认的,等等,可能会或可能不会适用于所有的机器和操作系统。

'#pragma' is for compiler directives that are machine-specific or operating-system-specific, i.e. it tells the compiler to do something, set some option, take some action, override some default, etc. that may or may not apply to all machines and operating systems.

以获得更多信息。

这篇关于在C使用`#pragma`的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆