Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include<iostream>
- #include <stdlib.h>
- using namespace std;
- int main(int argc, char* argv[])
- {
- int num16;
- cout<<"請輸入值";
- cin>>hex>>num16;
- cout<<"10進位 "<<num16<<endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment