Top "Namespaces" questions

A namespace is a container that provides context for identifiers, within which names are unique.

XSLT Transform XML with Namespaces

I'm trying to transform some XML into HTML using XSLT. Problem: I can't get it to work. Can someone tell …

xml xslt namespaces transform datacontractserializer
Why doesn't ANSI C have namespaces?

Having namespaces seems like no-brainer for most languages. But as far as I can tell, ANSI C doesn't support it. …

c namespaces ansi-c
Error: 'cout' : undeclared identifier; though I've included iostream header file in program

I am trying to compile the simple program below. But, it's not compiling & gives error: error C2065: 'cout' : undeclared …

c++ namespaces iostream cout
expected unqualified-id before string constant

I'm currently writing a C++ application which implements an Oscillator in conjuction with math.h. The code I have should …

c++ namespaces g++ math.h object-files
Autoloading classes in PHPUnit using Composer and autoload.php

I have just installed PHPUnit version 3.7.19 by Sebastian Bergmann via Composer and have written a class I would like to …

php namespaces phpunit autoload composer-php
How can I retrieve the namespace to a string C#

I am writing a program which needs the namespace of the program but I cant seem to figure out how …

c# string namespaces
Namespace + functions versus static methods on a class

Let's say I have, or am going to write, a set of related functions. Let's say they're math-related. Organizationally, should …

c++ namespaces static-methods
How to get Namespace of an Assembly?

Consider i have an assembly(class library dll) which i have loaded using the following code, Assembly a = Assembly.LoadFrom(@"…

c# .net assemblies namespaces
What exactly does "import *" import?

In Python, what exactly does import * import? Does it import __init__.py found in the containing folder? For example, is …

python namespaces python-import
C++ namespace and include

Why do we need both using namespace and include directives in C++ programs? For example, #include <iostream> using …

c++ namespaces header-files