I've got a few lines of code
- void getinfo(char &, char &, string &, string &, int);
- int getmove(char , string);
- string name1, name2;
which use <string> header, but my compiler can only use <string.h> so these lines don't work properly
i.e. name1 and name2 came out as single character instead of Michelle, or Gwen for example.
So how do I replace string to make the prog work on my compiler?
Many thanks for your help and advice.