Hey everyone !
I'm getting en error : 'swedish' was not declared in this scope. Same goes for get_eng() method too sure.
Been searching so much no result... hope you can help guys^^.
this is my code:
Word.h
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef WORD_H
#define WORD_H
usingnamespace std;
class Word {
public:
char *swedish;
char *english;
Word(char *sw, char *eng); //Svenskt sw, engelskt eng
~Word();
constchar *get_sw() const; //Hämta svenskt ord
constchar *get_eng() const; //Hämta engelsk översättning
private:
};
#endif