I'm reading a book about C++ programming and I'm a little unsure about one thing, the namespaces. I understand that using for example,
std::cout access cout in the std namespace but when I took these classes in school, we would always use the dot operator "."
Are they interchangeable? They book has for example
The way I read this is that since we are in the Records namespace, to access something in the Employee namespace we must use the :: to get into the Employee namespace. Would this be correct or am I missing something?