关于Windows编程的一个简单问题?希望高手指点。(在线等待)

jarms 2003-11-25 07:47:26
在Windows编程中
#pragma argsused
起什么作用???
...全文
23 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
gad1star 2003-11-30
  • 打赏
  • 举报
回复
Syntax

#pragma argsused

Description

The argsused pragma is allowed only between function definitions, and it affects only the next function. It disables the warning message:

"Parameter name is never used in function func-name"
tonymeis 2003-11-26
  • 打赏
  • 举报
回复
帮你顶
gordenfl 2003-11-26
  • 打赏
  • 举报
回复
Each implementation of C and C++ supports some features unique to its host machine or operating system. Some programs, for instance, need to exercise precise control over the memory areas where data is placed or to control the way certain functions receive parameters. The #pragma directives offer a way for each compiler to offer machine- and operating system-specific features while retaining overall compatibility with the C and C++ languages. Pragmas are machine- or operating system-specific by definition, and are usually different for every compiler.

3,424

社区成员

发帖
与我相关
我的任务
社区描述
其他开发语言 其他开发语言
社区管理员
  • 其他开发语言社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧