I am having trouble simply using strcmp, I've never had this problem before. All I want to do is something like this...
What's wrong with that? It keeps complaining, saying:Code:char talk[100]; // Also tried String *talk if (strcmp(talk, "Hello"))
error C2664: 'strcpy' : cannot convert parameter 2 from 'System::String __gc *' to 'const char *'
It's like the two aren't at all compatible. I've done this many times before with no problems. By the way, this is a C++ Windows Forms Application in Visual Studio.NET if that matters.