Results 1 to 2 of 2

Thread: #define

  1. #1

    Thread Starter
    Hyperactive Member chuddy's Avatar
    Join Date
    Oct 2002
    Posts
    333

    #define

    What does the following mean?


    Code:
    #define _RPT1(rptno, msg, arg1)
    It is in file crtdbg.h Something to do with C runtime debugging...

    Cheers!

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: #define

    It defines a function-style macro that takes 3 parameters and expands to nothing. Most likely it's the release version of a debugging macro; judging by the name, the macro reports a message with a single embedded argument and the given report number or something like that. Locating the debug version of the macro would help.

    In any case, the fact that the name starts with an underscore is a message to you that you are not to touch it, as it's for the library's internal use.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width