fork(7) download
  1. #include <cstdarg>
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. string FromCharCode ( int num, ... )
  7. {
  8. va_list arguments;
  9. char ch;
  10. string s;
  11. va_start ( arguments, num );
  12. for ( int x = 0; x < num; x++ )
  13. {
  14. ch = va_arg ( arguments, int );
  15. s = s + ch;
  16. }
  17. va_end ( arguments );
  18. return s;
  19.  
  20. }
  21. int main()
  22. {
  23. cout<<FromCharCode (10,73,78,68,69,83,73,71,78,33,33) ;//<<endl;
  24. return 0;
  25. }
  26.  
Success #stdin #stdout 0s 2984KB
stdin
Standard input is empty
stdout
INDESIGN!!