TDM-GCC is a compiler suite for Microsoft Windows. It is a commonly recommended compiler in many books, both for beginners and more experienced programmers. It combines the most recent stable release of the GCC toolset, a few patches for Windows-friendliness, and the free and open-source MinGW runtime APIs to create an open-source alternative to Microsoft's compiler and platform SDK. It is able to build 32-bit or 64-bit binaries, for any version of Windows since Windows 98.
One thing is for certain: Microsoft setup did not install the code on C:\ as MS puts stuff in
C:\Program Files
or in
C:\Program Files (x86)\
I recommend you Zip the directory from root, then CD into the directory and delete everything. Wait until you test a few programs before you finally remove the directory and the Zip backup.
I have the TDM-GCC-32 compiler installed in the CodeBlock directory rather than the standard gcc compiler- at the time I required it because it supported a particular library or application - what it was I cannot remember now??