求补充
  • 板块灌水区
  • 楼主泽坤2013
  • 当前回复5
  • 已保存回复5
  • 发布时间2024/9/12 21:09
  • 上次更新2024/9/13 13:06:57
查看原帖
求补充
1005554
泽坤2013楼主2024/9/12 21:09
#include <iostream>
#include <string>
using namespace std;
struct computer_value{
	string up_value;
	string down_value;
	string down_opr;
	string opr;
};
typedef computer_value com;
class computer{
	public:
		computer_value thisvalue;
		bool havedouble;
		void print_up_value(){
        	std::cout<<thisvalue.up_value;
    	}
		string upvalue() {
			return thisvalue.up_value;
		}
	    void set_upvalue(string in__) {
	        thisvalue.up_value=in__;
	    }
}in_a,in_b; 
int main(){
	cin>>in_a.thisvalue.up_value;
	cout<<in_a.thisvalue.up_value;
	cout << endl << in_a.thisvalue.up_value;
	return 0;
} 
//computer operator + (computer a,computer b)

脑残要编一个a+b求补充

2024/9/12 21:09
加载中...