I have a vector of strings "moves"
std::vector<string> moves;
and the Chars:
char fromX, toX, fromY, toY;
I use:
sscanf(moves[0], "%c%c %c%c", &fromX, &fromY, &toX, &toY);
and Compiler says:
error: no matching function for call to 'sscanf(std::string&, const char[10], char*, char*, char*, char*)'
What is the problem???