Ioannis Vranos wrote:
temp.cpp(1) : fatal error C1083: Cannot open include file: 'cli/vector':
No such
file or directory
OK I found it. The headers are in the style:
#include <cliext/vector> and the namespace is cliext.
I think this cliext is very confusing. Couldn't it be stdcli as it was before?
Anyway, a code example that compiles with /clr:safe.
#include <cliext/vector>
int main()
{
using namespace System;
using namespace cliext;
vector<String ^> somevec;
somevec.push_back("Test");
Console::WriteLine(somevec[0]);
}
C:\c>temp
Test
C:\c>