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

Search:

Type: Posts; User: Cambalinho

Search: Search took 0.01 seconds.

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

    done.
    we must expand the macro:

    #define EXPAND_0(...) __VA_ARGS__#define EXPAND_1(...) EXPAND_0(EXPAND_0(__VA_ARGS__))
    #define EXPAND_2(...) EXPAND_1(EXPAND_1(__VA_ARGS__))
    #define EXPAND(...)...
  2. Re: Variadic Macros: can i control the macros arguments index?

    i'm sorry, the va_arg, va_start and va_end can be used on macros?
  3. Variadic Macros: can i control the macros arguments index?

    when we create a macro with several arguments we use '...':

    #define events(...) event2(__VA_ARGS__)
    but own can i see the arguments index for work with them separated or even use a loop?
Results 1 to 3 of 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)