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

	int x;
	scanf("%x",&x);
	printf("%08x",12);

posted on 2011-06-25 00:30  speedmancs  阅读(765)  评论(0编辑  收藏  举报

导航