pgm103a.cpp¤Ë¤ª¤¤¤Æ¡¢¥×¥í¥°¥é¥àÃæ¤ÇÄêµÁ¤·¤Æ¤¤¤¿¿ôÃͤòɸ½àÆþÎϤ«¤éÆþÎϤ¹¤ë¤è¤¦¤Ë¥×¥í¥°¥é¥à¤ò½¤Àµ¤»¤è¡£8¿Ê¿ô¡¢16¿Ê¿ô¤ÇÂåÆþ¤·¡¢É½¼¨¤»¤è¡£
ÆþÎÏÎ㡧
Input a(dec) : 10
Input b(oct) : 12
Input c(hex) : a
a=10, b=10, c=10
#include <iostream> using namespace std; int main(){ int a, b, c; cout << "Input a(dec) : "; cin >> a ; cout << "Input b(oct) : "; cin >> oct >> b; cout << "Input c(hex) : "; cin >> hex >> c; cout << "a=" << a << ", b=" << b << ", c="<< c << "\n"; return 0; }
ÆþÎÏÎ㡧
Input a(dec) : 10
Input b(oct) : 12
Input c(hex) : a
a=10, b=10, c=10
¤³¤Î¥Ú¡¼¥¸¤Ø¤Î¥³¥á¥ó¥È
TQ0BrB Thank you for your blog article.Thanks Again. Really Cool.
pgm103b.cpp - �褯�狼�� ɸ�� C ����ץ�ץ�����ܲ��� - Seesaa Wiki�ʥ������� for ���ޡ��ȥե��� モンクレール レディース サイズ http://www.pslcbi.com/moncler2014.html