Where should compilation support files be located?

When compiling and running programs, I often get a message that a file is not found. Assuming I have a "ino" program, whee should I put the support files, i.e. the ".cpp", the ".h" files. Should my library files be located?

Libraries should be in the libraries folder in your main sketch folder. Usually My Documents\Arduino\Libraries

The library folder name must match the library name. If you've downloaded it from Github, it probably has "-master" added, which must be removed.

.cpp, .h and .ino files related to the project can all go into the one project folder. They will show up as tabs in the editor.