• Advertisement

Archived

This topic is now archived and is closed to further replies.

PRAGMA???

This topic is 5639 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What in the world is #PRAGMA? I''ve seen it in a few different syntaxes.. I have no clue what it means, what it does, or how to use it =) ~~~~~~~~~~~ Chris Vogel ~~~~~~~~~~~

Share this post


Link to post
Share on other sites
Advertisement
#pragma is a compiler directive. It allows you to pass specific instructions to the compiler. For example, in MSVC, you can use #pragma warning(...) to enable or disable specific warnings. Check your compiler''s documentation to see which #pragma directives it supports, and what they do.

Share this post


Link to post
Share on other sites
#pragma comment(lib,"d3d8.lib")
is a good pragma . so is
#pragma message("blah blah")

Share this post


Link to post
Share on other sites

  • Advertisement