(2)进制转换

#include <iostream>
using namespace std;

int main()
{
	int x(10);
	cout << oct << x << endl;
	cout << dec << x << endl;
	cout << hex << x << endl;
	system("pause");
	return 0;
}

猜你喜欢

转载自blog.csdn.net/nuc_sheryl/article/details/81086639