Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
Your question appears to a duplicate please use the searchbar before asking.
Please use the forum guidelines provided below and use the 8 rules for getting help from the community.
https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community
Your question will be marked for deletion.
Reason duplicate threads are removed to:
Focus substantially similar discussion in one thread and to prevent forums being cluttered with multiple threads on the same topic.
https://www.sololearn.com/discuss/2477412/?ref=app
https://www.sololearn.com/discuss/164963/?ref=app
https://www.sololearn.com/discuss/161009/?ref=app
https://www.sololearn.com/discuss/2506944/?ref=app
https://www.sololearn.com/discuss/2662194/?ref=app
https://www.sololearn.com/discuss/96732/?ref=app
https://www.sololearn.com/discuss/2632838/?ref=app
https://www.sololearn.com/discuss/845186/?ref=app
https://www.sololearn.com/discuss/1858611/?ref=app
https://www.sololearn.com/discuss/76430/?ref=app
+ 1
It's all answered in C++ course here on SL, all you got to do is to continue with it.
+ 1
namespace means that region to declare variables and functions without conflicts.
That is true?
0
1) #include -
It is a preprocessor directive
Which means it will be executed before the actual program logic is executed i.e before the main block is executed. It will include the header file mentioned between <filename> which consists of some predefined functions that can be used in main block which you will not need to define and can be directly used in main block.
In case of C++ "iostream" known as (input - output stream) is a library or can say a file which consists of predefined functions which is included in the program and then u are using its functions in main block where required.
Functions belonging to iostream are
Cin, cout etc.
0
I know that iostream that is a header file contain codes of functions like cin, cout,..
Is that true?
0
Yeah
0
What the meaning of
std or using name space std;
?
0
https://medium.com/breaktheloop/why-using-namespace-std-is-used-after-including-iostream-dc5ae45db652
if didnt understood from here then will explain
0
Sorry, this links don't work
0
Okay then do u practice on pc
0
Yeah