请高手看下哪出问题了
#include<iostream>using namespace std;
int main()
{
int n;
int a=0;
cout<<"请输入5位的整数"<<endl;
while ((n=get())!= '/n'))
{cout<<n<<endl;
a++;
}
cout<<a <<endl;
}
想输出整数的位数, 以及每一位数
2011-11-09 19:28
2011-11-09 21:23
2011-11-09 21:59