I have seen so many students using Turbo C++ for thier programs. It is rather BAD ( I think so.). Here is the solution.
Dev C++
Dev C++ is an free IDE for C++, but it can also use to compile and run ANSI standard ( most of text book follow ANSI). It is a powerfull environment.
You can download Dev C++ here.
Enable ANSI C programs
- Install Dev C++.
- Open Dev C++.
- Tools -> Compiler options.
- Support all ANSI C Programs. select Yes.
- Click OK.