取出一个int的每一位,用算法时间:2022-10-23 22:35:16int a=1234; int current; while(a) { current=a%10;//4 cout<<current; a=a%10; }