[Mono-list] using namespace in C++ projects

hessam hessam.1983 at gmail.com
Tue Jul 26 17:10:57 EDT 2011


Hi All,

I'm new to MonoDevelop and I don't know that much about it. I have a
solution which includes one C# project and multiple C++ projects in it. In
my C# project, I'm having multiple namespaces and I want to use those
namspaces in my C++ projects but for some reason the compiler doesn't
recognize them. 

I can have the following line in my code "using namespace std;" and it works
but when I use the following line "using namespace X::Y;" the compiler gives
me the error that "X has not been declared" and "Y is not a namespace-name".
What should I do?? Is there anyway to us my own namespaces from C# project
(not the standard ones like std) in my C++ project??

Thanks All,
Hessam

--
View this message in context: http://mono.1490590.n4.nabble.com/using-namespace-in-C-projects-tp3697014p3697014.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list