'运营商的模糊过载>>' CPP

时间:2018-03-07 04:17:40

标签: c++ operator-overloading dev-c++ ambiguous

我使用的是devC ++并且不知道问题是什么。 当我尝试执行以下代码时,它会创建此错误

  

运营商的模糊过载>> (操作数类型是   std :: istream {aka std :: basic stream} and int)

还附加了一些屏幕截图。image 1 image 2

   #include<iostream>
   #include<conio.h>
    using namespace std;
    int main()
    {
      int n;
      cin >> n;

      return 0;
    }

0 个答案:

没有答案
相关问题