#include<iostream>
using namespace std;
class complex{
private:
int a, b;
public:
complex(){}
complex(int aa, int bb):a(aa),b(bb){}
void setvalue(int aa, int bb);
complex operator+(complex c);
void out();
};
void complex::setvalue(int aa, int bb)
{
a = aa;
b = bb;
...