I'm having trouble detecting unwanted user input. More details in the description

前端 未结 0 1010
无人及你
无人及你 2021-01-07 06:39

Solving this problem is probably completely trivial, but my mind is blank. Here is part of a code:

int option = 0;
while(!(cin >> option) || !(option ==         


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