c++ std::cin>>x to skip entry if no value was entered

前端 未结 0 717
星月不相逢
星月不相逢 2021-02-04 06:52
double x,y; 

were defined one intended a sequential input of those values, and to skip the entry if no proper value were given, i.e

cin&g         


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