You can let Eclipse save modified files whenever you perform a manual build. The files are saved before the build is performed so that the latest version of your files is built. You can view the output of the make utility in the Console view.
To save resources before manual builds:
Eclipse will now save your resources when you build a project.
Defining Project Build settings
Building projects
Make Builder page, C/C++ Properties window