source:
trunk/MagicSoft/Cosy/hex.cc@
8709
Last change on this file since 8709 was 738, checked in by , 24 years ago | |
---|---|
File size: 206 bytes |
Line | |
---|---|
1 | #include <stdlib.h> |
2 | #include <iostream.h> |
3 | #include <iomanip.h> |
4 | |
5 | int main(int argc, char **argv) |
6 | { |
7 | if (argc==2) |
8 | cout << hex << setfill('0') << setw(8) << atol(argv[1]) << endl; |
9 | |
10 | return 0; |
11 | } |
Note:
See TracBrowser
for help on using the repository browser.