both, dev-cpp and MinWGstudio are free under GNU license.