last input not working after exiting the while loop

后端 未结 0 1641
醉酒成梦
醉酒成梦 2020-12-30 02:18

just curious on how to fix this minor issue for cin.

int main(){

    int x,w;
    while(cin>>x){
         cout<<"This is x -> " <         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题