what is the use of iostream in CPP
Answers
Before answering the question, let me tell you something, EACH AND EVERY syllable u use has to be first understood in coding. Remember, programmers KNOW WHAT THEY ARE DOING AND WHY.
Some people tend to memorize programs but that doesn't help u in the long run. So I really approve of your asking the meaning of WHY u r writing this.
You might have heard terrifying complicated versions of this word, but don't worry, it is actually very simple.
C++ has got several objects. For example, iostream library has got the objects cin, cout, etc ( Hope u know the basics ). Take another example of the char library,which has character objects.
When we include these in our code, the Integrated Development Environment(IDE) or even if you are working on command prompt directly, know which objects u want. That's all, hope u understood.
Keep coding, have errors, drive them out, and ENJOY!