[ create a new paste ] login | about

Link: http://codepad.org/7c4isgCS    [ raw code | output | fork ]

C++, pasted on Jan 19:
1
2
3
4
5
6
7
8
#include <cstdio>

int main()
{ 
   double d = 123.456;
   printf("%a",d);
   return 0;
}


Output:
1
2
3
cc1plus: warnings being treated as errors
In function 'int main()':
Line 6: warning: ISO C++ does not support the '%a' printf format


Create a new paste based on this one


Comments: