Saturday, March 17, 2012

#pragma in c

#pragma is an implementation-defined directive that allows various instructions to be given to the compiler. For example, a compiler may have an option that supports program execution tracing. A trace option would then be specified by a #pragma statement. You must check the compiler's documentation for details and options.

The #pragma directive provides a way to request special behavior from the compiler. This directive is most useful for programs that are unusually large or that need to take advantage of the capabilities of a particular compiler. Pragmas are used within the source program.

#pragma token(s)

pragma is usually followed by a single token, which represents a command for the compiler to obey. You should check the software implementation of the C standard you intend on using for a list of the supported tokens. Not surprisingly, the set of commands that can apear in #pragma directives is different for each compiler; you'll have to consult the documentation for your compiler to see which commands it allows and what those commands do.

For instance one of the most implemented preprocessor directives, #pragma once when placed at the beginning of a header file, indicates that the file where it resides will be skipped if included several times by the preprocessor.

13 comments:

  1. Our team of global web development experts have done in depth research to come up with this list of Best +Free Javascript Tutorial, Class, Course, Training & Certification for 2021. It includes both paid and free learning resources available online to help you learn Javascript. Wish you all the best! free courses to learn kotlin

    ReplyDelete
  2. Join Rpjitu garansi kekalahan for access to the best in online gaming. With a diverse selection of titles, exclusive rewards, and a vibrant community, the fun never stops!

    ReplyDelete
  3. Explore the endless possibilities at login olxtoto - your gateway to gaming greatness. login olxtoto

    ReplyDelete
  4. Your website has shown me that true happiness comes from within and is not dependent on external circumstances. Kimtoto

    ReplyDelete
  5. Dapatkan pemadam kebakaran dengan desain yang stylish dan fungsional dari distributor alat pemadam kebakaran terpercaya. distributor alat pemadam kebakaran

    ReplyDelete
  6. Mainkan slot berkualitas tinggi dengan agen X500 dan menangkan hadiah besar agen x500

    ReplyDelete
  7. Temukan topup game murah dan aman di website kami website topup game murah

    ReplyDelete
  8. master198 menawarkan berbagai slot dengan tema mitologi

    ReplyDelete
  9. This platform offers endless possibilities for making money while playing your favorite games. The opportunities here are vast, and it's highly recommended for anyone looking to monetize their gaming skills! empiretoto

    ReplyDelete
  10. Mpo303 menawarkan berbagai permainan dengan bonus harian yang melimpah.

    ReplyDelete
  11. Find the most dazzling game site with advanced graphics and smooth login, and download an unblockable mobile APK for ultimate gaming! Dewa99

    ReplyDelete
  12. Your website is a breath of fresh air, very refreshing. agen judidadu88

    ReplyDelete
  13. Learn the secrets to lottery success with Sultan Lotre. Proven tips for winning. sultan lotre

    ReplyDelete