thanks for the reply. But it is working in visual c++. I do not know about the visual c++. I need help in turbo c++.
Why are you using Turbo C++? Is this a restriction someone else has placed on you? It's out of date, and the Microsoft compilers can be downloaded for free (not Visual Studio, but the compilers themselves are available, and the SDK's, so you can have everything you need.) Also, if you don't want to use Microsoft, there's gcc - see MinGW for one Windows port, and you can most likely use it with the Eclipse IDE. So unless someone else is making you, there's absolutely no need at all to stick with crappy old software that frankly isn't up to the job.