He got the error: "program could not start, because libgcc_s_dw2-1.dll is missing on the computer.".
Well, you should have better tried to understand, what that means. The reason is that the
compiler you are using creates executables that depend on that library as long as you don't statically link, which requires a single, simple compiler switch.
Instead, you uninstall/install IDE's whose compiler conflict and blame C::B afterwards that nothing works. In addition you don't mention what version of C::B you are using on what platform etc...
Well, that's the kind of stuff I really don't like and usually wouldn't even bother and probably even delete the post, however... here is a way out:
Uninstall both IDE's, make sure both install path's are really empty. Make sure the compiler is fully un-installed, check the PATH environment that DevC++ didn't leave references.
Clear the C::B settings, usually located in your user's home directory, or Application data (depending on your OS which you didn't mention this obviously varies). If unsure, search for a file named "default.conf" in your HDD's.
The install C::B from scratch - choose a nightly which has the compiler bundled. Make sure you setup the compiler correctly, especially check, it in the compiler settings the toolchain path is setup correctly.