L
Lionel
I believe I must have a c++ syntax or packaging problem. I have to
reproduce my problem here as I can't disclose some of the original
information, hopefully I don't lose anything:
class A {
public:
A(char* someArg);
};
class B : public A {
public:
B(C *c, char* someArg);
};
b.cpp: In constructor `B::B(A*, char*)':
b.cpp:3: error: no matching function for call to `A::A()'
directory/a.h:7: note: candidates are: A::A(const A&)
directory/a.h:13: note: A::A(char*)
I hope that makes sense. Just as an aside, I am using qt, I think this
is a standard c++ problem and just a my lack of knowledge of the language.
Thanks,
Lionel.
reproduce my problem here as I can't disclose some of the original
information, hopefully I don't lose anything:
class A {
public:
A(char* someArg);
};
class B : public A {
public:
B(C *c, char* someArg);
};
b.cpp: In constructor `B::B(A*, char*)':
b.cpp:3: error: no matching function for call to `A::A()'
directory/a.h:7: note: candidates are: A::A(const A&)
directory/a.h:13: note: A::A(char*)
I hope that makes sense. Just as an aside, I am using qt, I think this
is a standard c++ problem and just a my lack of knowledge of the language.
Thanks,
Lionel.