N
noemailplease0001
#ifndef POSITION_H_
#define POSITION_H_
class Position
{
public:
Position(std::string name, std::string name):
m_name( name), m_description(description){}
std::string toString();
private:
std::string m_name;
std::string m_description;
};
#endif /* POSITION_H_ */
I get an error 'error: expected `;' before "m_description"' I don't
understand that.
Thanks for ur time
-N.E
#define POSITION_H_
class Position
{
public:
Position(std::string name, std::string name):
m_name( name), m_description(description){}
std::string toString();
private:
std::string m_name;
std::string m_description;
};
#endif /* POSITION_H_ */
I get an error 'error: expected `;' before "m_description"' I don't
understand that.
Thanks for ur time
-N.E