Beginner in c++, can some clarify? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Beginner in c++, can some clarify?

I'm currently in school for this. when you add #include<iostream> is that referring to the specific library for that program? and using namespace std; is just so you dont have to keep typing std before cout/cin correct?? how would I know which library to use? are there different ones? or is there a specific library for a specific program? my teacher is nice but it's hard to schedule anything with him to really explain things in a dumber version so I'm trying to learn this at home to supplement. thanks alot!

21st Jan 2020, 8:06 PM
Cleolyn Letona
4 Answers
+ 4
thanks for the reply! I actually understood it better from this app. my teacher tends to be all over the place considering that I'm a beginner he says a lot and doesnt explain it thoroughly.
21st Jan 2020, 8:18 PM
Cleolyn Letona
+ 2
You're right about namespace and the library, to know more about each language you need to check out the documentation, but as a beginner you still follow a tutorial am sure sololearn tutorial is a good start where each part of the code is been explain
21st Jan 2020, 8:14 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
That's the case with lots of tutorials out there too, they talk about a tool but not how to use it, which leaves the learner in a more confused state
21st Jan 2020, 8:23 PM
✳AsterisK✳
✳AsterisK✳ - avatar
21st Jan 2020, 9:35 PM
rodwynnejones
rodwynnejones - avatar