1 #include <iostream>
2
3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */
4 using namespace std;
5 class Box
6 {
7 public:
8 ...
/*
time:2020年4月24日21:24:31
where:gfdx
function:对象赋值*/
#include<iostream>
using namespace std;
class myclass
{
int a, b;
public:
void set(int i, int j)
{
a = i;
...