Code writting format | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Code writting format

I've started reading a book titled "c++ primer plus" the code shown wrote like this: #include<iostream> int main() { using namespace std; //code } I wanna know, is this means standard namespace used just for this function? If we make a new fuction, standard namespace is not used?

20th Jul 2018, 3:16 PM
‎צחק‎اسحاق
‎צחק‎اسحاق - avatar
1 Answer
0
Thank you, I'll go with try and error method :)
20th Jul 2018, 3:25 PM
‎צחק‎اسحاق
‎צחק‎اسحاق - avatar