C++ cin a float before a string doesn't work but cin a string before does. Why?

后端 未结 0 685
后悔当初
后悔当初 2021-01-07 00:36

Doesn\'t Work:

#include 
#include 
using namespace std;

int main() {
  
  string planet;
  double weight;

  cout << &quo         


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