Top "Using-directives" questions

The `using` directive, available in several languages including C# and C++, introduces members of a namespace into the current identifier search scope.

Why is "using namespace std;" considered bad practice?

I've been told by others that writing using namespace std; in code is wrong, and that I should use std::…

c++ namespaces std using-directives c++-faq
The type or namespace name could not be found

I have a C# solution with several projects in Visual Studio 2010. One is a test project (I'll call it "PrjTest"), …

c# visual-studio-2010 reference using-statement using-directives
The type or namespace cannot be found (are you missing a using directive or an assembly reference?)

I get the following error when I try to compile my C# program: The type or namespace name 'Login' could …

c# .net using-directives
How to properly bind scope between directive and controller with angularJS

I'm trying to generate an n-level hierarchical unordered list with anugularJS, and have been able to successfully do so. But …

scope angularjs hierarchy using-directives
C++ 'typedef' vs. 'using ... = ...'

Possible Duplicate: What are the differences between typedef and using in C++11? The following code compiles and runs. My question …

c++ c++11 typedef using-directives
Visual Studio or Resharper functionality for placement of using directives

I like to put my using directives inside the current namespace, and not outside as VS and Resharper per default …

visual-studio resharper using-directives
Scoped using-directive within a struct/class declaration?

I find that my C++ header files are quite hard to read (and really tedious to type) with all the …

c++ language-features using-directives
Angularjs - Dynamically change dom with directives or widgets?

my goal is to understand how to use angularJS correctly. I want to be able to tie a selection of …

jquery widget angularjs using-directives
C++: Should I use 'typedef' or 'using namespace'?

I am writing a library with mutiple dependent modules. When I include a file from a different module, should I …

c++ namespaces using-directives
Exposing the methods of a DLL in C#

After someone creates a DLL in C# using the Microsoft Visual development environment, how would another programmer take that code, …

c# dll using-directives