dec,hex and oct

#include <iostream>
using namespace std;
int main(){
    int x=25;
    cout<<hex<<x<<' '<<dec<<x<<' '<<oct<<x<<' ';
    return 0;
}
原文地址:https://www.cnblogs.com/wangjianupc/p/10587220.html