In my header file... my.h
If I compile this, compiler complains "sql has not been declared".
I don't want to include the whole sql header files just to declare a pointer.
Is there any way to solve this?
Thanks in advance..
Oops. I miss-arranged header files. I included my header before sql headers. Sorry to bother you.
Code:
using sql::ResultSet;
class Mysqlboard : public Board
{
protected:
sql::ResultSet *myQuery(std::string str);
I don't want to include the whole sql header files just to declare a pointer.
Is there any way to solve this?
Thanks in advance..
Oops. I miss-arranged header files. I included my header before sql headers. Sorry to bother you.