i am a beginner using eclipse CDT. usually in DEVc++ or other lightweight IDE\'s we can directly open and edit a single .cpp file from desktop and run it.
on the other h
Assuming you dropped several .cpp files in the same project (containing a main in each), you can :
.cpp file and Properties > C/C++ build > Settings > Manage Configurations.check "exclude resource form build", for each one.unchecked.playFinally, to switch from one run configuration to another, go to Project > Properties > Manage Configurations and change the active one. Rebuild and run.
EDIT: as shivi mentioned, the most painful part (excluding resources form build) can be done in one single shot by multi-selecting the files to exclude in the Package Explorer view and Right-click > Resource Configurations > Exclude from build....
That's the best we can do...