I guess you could use Bloodshed Dev-C++
(for both C and C++). It uses MinGW GCC and is probably the best IDE out there. (IMO)
the executable format in linux is rpm?
RPM is a package manager. There's not really an 'executable format' in Linux (there's no particular extension by which you could tell a file can be executed, unlike .exe