How to access different source code files in a folder

I am writing code in c/c++ and not able to link the files present in the same folder.
Tried the project manager package yet no solution.
I could not use the keywords like extern, static that involves linking of other files with the main driver function.
Thanks in advance.