If you would like to know all the places the compiler searches for include files and object files, just turn on "Show verbose output during compilation". If you would like to know where to place the .h and .cpp files for your sketch, use a new tab for each file.