i pasted those files in the directory containing cc1plus.exe
Is this cc1plus.exe your program executable ? To me it sounds more like a part of MinGW.
You have to paste the dlls into the folder where you keep your project .exe file.