Advertisement
obernardovieira

Hexadecimal to decimal in one line

Aug 1st, 2013
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.12 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. bool main() {
  4.     std::cout << "numero " << (int)0xFF << std::endl;
  5.     system("pause");
  6.     return true;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement