Cursussen
InloggenBegin met het leren van AI
Cursussen
InloggenBegin met het leren van AI
0

C++ Library question

what is the difference between #include <iostream>; and using namespace std; as far as i can tell they both are taking in some sort of standart library, what do they refer to ?

c++<iostream>std
1st Jan 2018, 10:25 AM
caglar anil arkes
caglar anil arkes - avatar
2 Antwoorden
+ 4
https://stackoverflow.com/questions/23589657/what-is-the-relationship-between-iostream-and-namespace-std
1st Jan 2018, 10:33 AM
Mustafa K.
Mustafa K. - avatar
+ 10
You shouldn't use namespace std; https://www.sololearn.com/Discuss/392399/?ref=app
1st Jan 2018, 10:32 AM
Dev
Dev - avatar

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Best language?
0 Votes
solo learn program issue - iPhone?
1 Votes
How do I keep myself motivated in coding
0 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
you con help mi
1 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes