關(guān)于在while循環(huán)中,num能自加嗎?
int?elem?=?0; while(!pStack?->?stackEmpty()) { ????pStack?->?pop(num); ????cout?<<?num[elem]; }
如題,沒(méi)有num++語(yǔ)句,pop是在棧里怎么移動(dòng)的?
int?elem?=?0; while(!pStack?->?stackEmpty()) { ????pStack?->?pop(num); ????cout?<<?num[elem]; }
如題,沒(méi)有num++語(yǔ)句,pop是在棧里怎么移動(dòng)的?
2018-08-31
舉報(bào)
2018-08-31