error C2612: trailing 'shift operator' illegal in base/member initializer list
-
Hallo noch mal ich dachte das der compiler shift und lerzeichen ignorird wiso bekomme ich hier fehler?
error C2612: trailing 'shift operator' illegal in base/member initializer list
error C2143: syntax error : missing ';' before ':'
error C2143: syntax error : missing ';' before '{'typedef int TYPE_OF_COST; class gen_string { // operator<< : to print it on screen // ************************************************ friend std::ostream& operator<<(std::ostream &os, const gen_string& in); /* //operator>> friend std::istream &operator>>(std::istream &in,gen_string& nu){cout << "den apetite gia thn egrasia"; abort();}; */ //anastrefh epi opou mia simboloseira // ************************************************ friend void MirrorChar(char *Out,char *in, unsigned long int Size); //Epistrefh mia thmh se pedio x={x| xmod(5), gia ka8e x e |N} // ************************************************ friend int MyRandom(int Set=ZERO); //antigrafh ena singekrimeno pli8os xaraktiron // ************************************************ friend void CopyPartStr(char *In= NULL,char *Out=NULL, unsigned long int Start=ZERO, unsigned long int End=ZERO); //Anastrefh ton pinaka // ************************************************ friend void ReverseStr(char *In = NULL); //Cop string // ************************************************ friend void CopyString(char *In = NULL,char *Copy = NULL); //Arxikopoih thn MyRand gia pseudothxeous // ************************************************ friend void MySeetRandom(); //Briskh to megisto proagmatiko mege8os tou pinaka // ************************************************ friend int GiveMeSize(const char *Give = NULL); public: // Construktor // ************************************************ gen_string(void):length(NULL):MeString(NULL){};/*!!!!!!!!!!!!!!!!!!fehler!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1*/ // Destructor // ************************************************ ~gen_string(); // Copy Constructor // ************************************************ gen_string(const gen_string &Other); // Initialize the values // ************************************************ void initialize(int nlength = FIN); // operator+= : mutates this many times!! // ************************************************ void operator+=(const int times); // operator= :: assignment! // ************************************************ gen_string& operator=(gen_string& in); // Returns the cost of this string // ************************************************ TYPE_OF_COST return_cost(gen_string& target); // operator* : cross-overs! // ************************************************ gen_string operator*(const gen_string& right); . . .
Und danch bekomme ich bei jeder funktion ein fehler
error C2143: syntax error : missing ';' before 'PCH creation point'