下列代码将十进制转化成八进制,则横线上应填入( )。
#include <iostream> using namespace std; void decimal2octal(int decimal) { int oct_number[100]; int i = 0; while (decimal > 0) { __________________________ //在此处填入代码 } for (int j = i - 1; j >= 0; j--) { cout << oct_number[j]; } cout << endl;}