[错误分析][Error]no match for ‘operator<<‘无匹配的左移运算符
[Error]no match for ‘operator<<’ (operand types are ‘std::basic_ostream’ and ‘plural’)先看一下可能引发此错误的代码#include<iostream>using namespace std;class plural{ private: double s,x; public: plural(double s,double x):s(s),x(x){ }