jfz2004
asked on
How to port C++ from Unix to Window .Net C++ system?
Hi,
I need to port a large C++ system on unix (built a long time ago)
into Visual C++ on windows XP (.NET).
There are many subdirectories in that system. It can't not even
find iostream.h in Visual Studio. How shall I do it properly?
Thanks a lot.
Jennifer Zhou
I need to port a large C++ system on unix (built a long time ago)
into Visual C++ on windows XP (.NET).
There are many subdirectories in that system. It can't not even
find iostream.h in Visual Studio. How shall I do it properly?
Thanks a lot.
Jennifer Zhou
ASKER
Thanks so much. I will try that.
Do you also have some ideas on how to treat subdirectories?
Is it better to make them dlls or just leave sub-dirs as they are?
Jennifer Zhou
Do you also have some ideas on how to treat subdirectories?
Is it better to make them dlls or just leave sub-dirs as they are?
Jennifer Zhou
ASKER
Hi,
I just tried using namespace std; but the compiler says:
'std' : a namespace with this name does not exist.
Did I miss anything here?
Thanks,
Jennifer
I just tried using namespace std; but the compiler says:
'std' : a namespace with this name does not exist.
Did I miss anything here?
Thanks,
Jennifer
ASKER
Please ignore my last post. It's my fault. I placed
"using namespace std" before #include <iostream.h>.
But in C# I always put using... at the very begining. Why is
it different here?
"using namespace std" before #include <iostream.h>.
But in C# I always put using... at the very begining. Why is
it different here?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This is actually a big topic and can be quite complex or very simple depending on your application. But to fix that issue, the easiest way is to simply do
#include <iostream>
using namespace std;
That should stop problems when using stuff from standard library.
Cheers!