How do you put parameters in a constructor and make it work?
I'm getting an error in my Satellite1.h header saying
that the string does not name a type?
it's the
class Satellite1
{
public:
Satellite1(string a); <- this one is the problem :(
As a general rule, you shouldn't have a using statement inside a header file. Because you can't "un-using" it, the using will apply to all the other header files that you might include after it. This can cause name conflicts that are really hard to fix: