A
AlexD_UK
When I create a new C++ project of type "Class Library (.NET)", I am
unable to then add the following line of code :
using namespace std
If I do, I get the following error on compilation :
c:\Research\Code\Visual Studio\TestC++2\TestC++2.h(7): error
C2871: 'std' : a namespace with this name does not exist
If I try this with other project types, e.g. "Console Application
(.NET)" projects, I have no such problem.
Any ideas on what I can do to fix this (as I would like to use
functions from <string.h> in my code).
Thanks,
Alex.
unable to then add the following line of code :
using namespace std
If I do, I get the following error on compilation :
c:\Research\Code\Visual Studio\TestC++2\TestC++2.h(7): error
C2871: 'std' : a namespace with this name does not exist
If I try this with other project types, e.g. "Console Application
(.NET)" projects, I have no such problem.
Any ideas on what I can do to fix this (as I would like to use
functions from <string.h> in my code).
Thanks,
Alex.