摘要: 作用:实现两个自定义数据类型相加的运算。(减、乘、除类似) #include<iostream> using namespace std; class WLM { public: //1.成员函数加号运算符重载 //WLM operator+(WLM &wlm1) //{ // WLM tmp; / 阅读全文
posted @ 2022-08-02 11:57 萌萌的保镖 阅读(56) 评论(0) 推荐(0)