求助:数制的转换将一个十进制数N转换为八进制数(应用栈)[解决办法]while (n){ stack.push((char)('0' + n%8)); n /= 8;}while (!stack.IsEmpty()) cout << stack.Pop();