Thread: va_start, va_end, va_list

  1. #1
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584

    va_start, va_end, va_list

    I was just reading some more with Programming Windows and he had this example using va_start, va_end, va_list. What are these macros? The book didn't really explain them. Thanks.

    --Garfield
    1978 Silver Anniversary Corvette

  2. #2
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    They are used in functions that take a variable number of arguments (eg printf,scanf,sprintf etc) to obtain each argument. Check MSDN for a description.
    zen

  3. #3
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    Oh, I guess I understand. Thanks.
    1978 Silver Anniversary Corvette

Popular pages Recent additions subscribe to a feed
Website Security Test