For Programmers: Free Programming Magazines  


Home > Archive > VC Language > January 2006 > from c++ to c++/cli









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author from c++ to c++/cli
zs

2006-01-28, 7:07 pm

Hi!

I have a question about converting from native c++ to c++/cli.
How to convert/rewrite c++ code that looks like this to cli:

//MyC.h

namespace MyNS
{
MyClass
{
public:
void F();
};
}

//MyC.cpp

#include "MyC.h"

namspace MyNS
{
MyClass::F(){....}
}

And second question is, are "using namespace" statements
in header files not recomended also in cli or ...?

Thx!

Best regards,
Zoran Stipanicev

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com