+ 1

Whats std?why we writing #include <iosteram>

hello world

24th Apr 2017, 10:03 AM
shivam
shivam - avatar
3 odpowiedzi
+ 3
std is a namespace that is used to tell the compiler where to look for an identifier. with #include <iostream> it's a library. This tells the compiler that in our project we want to use this library in our code and use the methods/objects built into it.
24th Apr 2017, 10:09 AM
George Marr
George Marr - avatar
+ 1
#include means we are giving command to the compiler to include the library which is specified in <>
24th Apr 2017, 10:54 AM
Sahil Chhikara
Sahil Chhikara - avatar