Hi,
I am using Kdevelop IDE (C++ project).
I added a new readopt.h and readopt.cpp files to the existing C++ project.
In readopt.cpp I have a function for database queries
In the main program I create a readoptn object
readopt readoptn and the call the dbconn function
readoptn.dbconn(host, user, pass, database)
Now when i compile the prog (Make), I get "Undefined Reference" error.
Appreciate any help.
Thanks,
Tewari
I am using Kdevelop IDE (C++ project).
I added a new readopt.h and readopt.cpp files to the existing C++ project.
In readopt.cpp I have a function for database queries
Code:
void dbconn(host, user, pass, database)
readopt readoptn and the call the dbconn function
readoptn.dbconn(host, user, pass, database)
Now when i compile the prog (Make), I get "Undefined Reference" error.
Appreciate any help.
Thanks,
Tewari