Hello !!!

This is Sagar here and am learning C++ from the tutorials. I have a query that while using code blocks i can only compile one file per project. If i Have number of files per project it doesnot really respond to other file compilation and throws the error that the main function was first used in the main source code.

Then i could only figure out a interim solution that i need to remove the not needed files and rebuild the project , only then could i compile other file.

Can someone please help??