daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest May 16th, 2018 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void Class::Foo(void* ptr,...)
  2. {
  3.     va_list args;
  4.     va_start(args,ptr);
  5.     float f=va_arg(args,float);
  6.     va_end(args)
  7. }
  8.    
  9. double d=va_arg(args,double);
  10. float f=(float)d;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top