关于在while循环中,num能自加吗?
int elem = 0; while(!pStack -> stackEmpty()) { pStack -> pop(num); cout << num[elem]; }
如题,没有num++语句,pop是在栈里怎么移动的?
int elem = 0; while(!pStack -> stackEmpty()) { pStack -> pop(num); cout << num[elem]; }
如题,没有num++语句,pop是在栈里怎么移动的?
2018-08-31
举报