va_start, va_end, va_list

This is a discussion on va_start, va_end, va_list within the Windows Programming forums, part of the Platform Specific Boards category; I was just reading some more with Programming Windows and he had this example using va_start, va_end, va_list. What are ...

  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
    zen
    zen is offline
    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21