+ 3
What is the difference between #include and usingnamespace? Why we don't use <canio.h> any more?
5 odpowiedzi
+ 2
#include allows access to other C/C++ files. Using namespace removes the need to explicitly state from which namespace code came from. e.g. std::cout (without using namespace std;) and cout (with using namespace std;) this can cause problems.
0
Thanks guys...