#include <iostream>
using namespace std;
class Circle{
public:
Circle(){ cout<<"im a circle\n"; }
void operator+(){ cout<<"im a + operator\n"; }
};
int main()
{
Circle();
Circle();
+
Circle();
}
output
"im a circle"
"im a circle"
"im a circle"
"im a + operator"
i want to receive output with this order
"im a circle"
"im a circle"
"im a + operator"
"im a circle"
I want as third output im a + operator
.
How can I fix this code so the output is in this specific order?