Jump to content

how to write function for variable arguments

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
sai

sai

    Newbie

  • Members
  • Pip
  • 1 posts
like in c++ function for variable arguments is func(int args,...) using va_list etc macros i can do it successfully and the same in managed c++ is , func(...array<int>^args) but how for mixed data types in managed c++, whether we can use the same macros in mc++:
thanks in advance
regards
sai

#2
Infinity

Infinity

    Newbie

  • Members
  • PipPip
  • 24 posts
I hope, example 2 on this page will help you.

Infinity