【C++/C FAQ】如何输入和输出十六进制的整数

	int x;
	scanf("%x",&x);
	printf("%08x",12);
原文地址:https://www.cnblogs.com/speedmancs/p/2089454.html