about C++ function declaration

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • errol.hon@gmail.com

    about C++ function declaration

    Hello All,

    I am reading the code of Tail for win32 (which is from
    http://sourceforge.net/projects/tailforwin32/), and I see something I
    never before. For example:

    void LogMessage (char* pszMessage, ...)

    I cannot understad the "..." thing in the param....can you guys
    explain the meaning of that, or point me the direction....I tried to
    search on google...but the "..." thing seems igroned on search...
    :(


    thanks guys,

  • errol.hon@gmail.com

    #2
    Re: about C++ function declaration

    Sorry guys,
    I got the answer when I search for "va_list".

    thanks for reading ;)


    On 6 12 , 3 20 , errol....@gmail .com wrote:
    Hello All,
    >
    I am reading the code of Tail for win32 (which is fromhttp://sourceforge.net/projects/tailforwin32/), and I see something I
    never before. For example:
    >
    void LogMessage (char* pszMessage, ...)
    >
    I cannot understad the "..." thing in the param....can you guys
    explain the meaning of that, or point me the direction....I tried to
    search on google...but the "..." thing seems igroned on search...
    :(
    >
    thanks guys,

    Comment

    • Default User

      #3
      Re: about C++ function declaration - TPA

      errol.hon@gmail .com wrote:
      Sorry guys,
      Please don't top-post. Your replies belong following or interspersed
      with properly trimmed quotes. See the majority of other posts in the
      newsgroup, or the group FAQ list:
      <http://www.parashift.c om/c++-faq-lite/how-to-post.html>

      Comment

      Working...