Creating a C++ namespace in header and source (cpp)

The difference in “namespace X” to “using namespace X” is in the first one any new declarations will be under the name space while in the second one it won’t.

In your example there are no new declaration – so no difference hence no preferred way.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)