+ 1
About #include and using namespace
hello, im new to SoloLearn and quite a beginner when it comes to programming. ive started the C++ course as ive heard its the best language to get started. however at the very beginning i stumbled upon the "#include <iostream>" and "using namespace std". These lines were explained, however due to my lack of knowledge i couldnt understand a thing. Could you explain them to me as you would explain to a simple human being? thanks in advance :)
4 Réponses
+ 3
I would really like to explain it to you, but given my lack of knowledge and authorship skills, I suppose these will explain much better than I could even dream. May they help you understand better : )
[ Pre-processor directives ]
http://www.cplusplus.com/doc/tutorial/preprocessor/
[ C++ Keywords: "using" ]
https://en.cppreference.com/w/cpp/keyword/using
+ 1
Ipang thanks a lot, though ive read them and remained a little confused. however i searched further through the threads for posts asking similar questions and i think i understood everything
+ 1
Razvan alright I'm glad to hear that! yeah sometimes formal reference can be tough : )
0
Ipang good thing its formal so as a beginner i can just quite ignore it and focus on learning other stuff