Turbo C++ compiler which we used in Windows XP, does not works in Windows 7 and Windows 8 now. But still we can run it using DOSbox(It is DOS emulator).
But here i will talk only about two C compilers which i use in Windows 8 (64-bit) also they work for Windows 7 both 32-bit and 64-bit. They work fine for me and will also work for you too. They are as follows:
Quincy
Quincy is free open-source C++ compiler for windows. It has very easy to use Interface. You can write a program, compile and run through it.
Quincy have a features like syntax highlight. It shows the error of your program so you can easily debug them. You can download and install it from the link below.
Download Quincy
Dev C++
Dev C++ is my favorite C++ compiler, it is developed by Bloodshed. Is is also Free software with source code available under GNU public license. It is more advanced then “Quincy” and its current version is Dev C++ 5 beta that comes with many more features like project manager, tools manager, Find and replace.
It can even run in Windows 95 with 32 MB of RAM. It will be easy to manage your large project with Dev C++.
Download Bloodshed Dev C++
So, you can use these compiler to compile and run C and C++ programs.