I am trying to use a string to hold a player name. when i type
#include <string>
this works correctly, and the VS2010 even autofills the text. Then i try to use a string, but i get an identifier not found:
#include <string.h>
class Player{
string name;
int playerIndex;
int position;
public:
Player(string name, int index, int pos);
void move();
};
On another note, the same thing (or similer is happening with vector)
#include <vector>
vector<cell> vBoard;
error: Vector is not a template