zptzdlzc

导航

c++十进制转八进制(栈的用法)

#include<iostream> #include<stack> using namespace std; int main() { int n; stack<int>stac; cout << "请输入一个数字:" << endl; cin >> n; while (n!=0) { //每次求

posted on 2022-05-11 17:20  zdlzc  阅读(453)  评论(0编辑  收藏  举报