what does using namespace std; do ?
Thank you! And sorry for the newbie question!
what does using namespace std; do ?
Thank you! And sorry for the newbie question!
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
std is a namespace that C++ standards use. namespaces gives all functions and classes within a name before it. for ex you have function A in namespace B the function you call is B::A(); when you put using namespace B; before it you only have to call A();
thank you!
i got it!