dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: 2kaud

Search: Search took 0.02 seconds.

  1. Re: Variadic Macros: can i control the macros arguments index?

    The pre-processor expands all macros before the compiler starts, so all the compiler sees is the already-expanded macros - not the macro definitions.
  2. Re: Variadic Macros: can i control the macros arguments index?

    To extract the arguments you use va_arg, va_start and va_end. See https://msdn.microsoft.com/en-us/library/kb57fad8.aspx

    Note that it is easy to get these wrong. Very little error checking is...
Results 1 to 2 of 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)