nie potrafie zdefiniowac operatora + w takim przypadku:
#ifndef __text_h__
#define __text_h__
using namespace std;
class Text
{
private:
char *text;
int lenght, temp;
public:
Text();
Text(const Text &);
Text(const char *);
Text & operator=(const Text&);
const Text & operator+(const Text&);
char* wypisz();
friend ostream & operator<<(ostream &, const Text &);
~Text();
};
#endif
wie ktos jak taki operator zdefiniowac??