>i dunno wat is dev-c++ so better u tell me abt it..
How about you just google it like the rest of the civilized world?
>n y is c++ a dead compiler s we r bein taught c++ on the turbo compiler...
Turbo C++ is an old compiler that was released before the current C++ standard. As such, you can't write proper C++ with it. If you're learning C++ on Turbo C++, you're screwing yourself because you'll have to unlearn half of what you're learning now, then learn the tons of new concepts and features of modern C++ when you realize that you never really learned C++ in the first place.
>so well wat is d problem with the getchar s u said it in the reply..
I was referring to the name. getchar suggests that it returns a char when it really returns an int. This causes a lot of people (including at least one notable author) to fall into the trap of infinite loops caused by EOF (a negative quantity) being returned from getchar but saved to a char when char is unsigned.
By the way, not everyone is a native English speaker, and your childish abbreviations and poor grammar would make your posts virtually impossible to understand. Not to mention that it greatly diminishes anyone's opinion of your intelligence and abilities. Unfair, yes. But that's how it works, and when you put effort into proper spelling and grammar, people are more …