You should really use a better compiler, Borland C++ is ancient and you're going to run across problems like this if you're trying to learn C++. You should get Visual Studio 2012 Express for Windows Desktop from Microsoft which is free.
https://www.microsof*****m/visualstud...d-2012-express
Alternatively, you can install Visual C++ 2010 Express which doesn't include other languages like VB.NET and C# here:
https://www.microsof*****m/visualstud...d-2010-express