Hi everyone!
I am new to C++, started not so long ago. I am writing a database program using sqlite3 and gtkmm (C++ bindings to GTK) GUI toolkit. I am using Eclipse for project building (managed make). In my project, I have two folders - 'db' and 'interface'. here is what inside folders -
+project
main.cpp
+db
sqlite3.h
sqlite3.cpp
+interface
MyFrame.h
MyFrame.cpp
Now, I want to initialize the sqlite3 class so it is part of MyFrame and then I can link buttons to use its functions in MyFrame. I try to do this by using #include "db/sqlite3.h" in MyFrame.h, but the compiler says "No such file or directory". If, however, I place the sqlite3 class files into 'interface' folder, everything works fine. But I do not want that - I want to keep things in different folders for better organization (in my opinion). Soon there will more classes and files added to this project, and I don't want to have to dump everything into one 'interface' folder. Please help!!!