You may want to investigate makefiles. Then you can use your favorite editor and still write modular code the correct way.
I just had a glance at how to write makefiles. Looks messy(will look into that later). So opened Dev C++ instead, and tried to work with projects for the first time in DevC++( used visual C++ projects bfor though). The program compiles without error but i get errors while linking, saying undefined reference to xyz. Obviously the linker is not finding the definitions of the declared functions. I did include the .cpp files containing the definitions in my project, but still getting the same errors. What should i do?