在C++中,怎么输出一个八进制的数我输入一个十进制的数,将起用八进制输出, 怎么实现八进制的输出呢?[解决办法]#include <iostream> int main() { std::cout < < std::oct < < 123 < < std::endl; return 0; }