title: Visual Studio 2015 “non-standard syntax; use '&' to create a pointer to member”
body: <p>I am learning C++ and try to make a small game of Tic Tac Toe. But I keep on getting C3867, non-standard syntax; use '&amp;' to create a pointer to remember.</p>
  
  <p>This is my TicTacToe.h :</p>
  
  <pre><code>#pragma once
  #include &lt;iostream&gt;
  
  using namespace std;
  
  class TicTacToe
  {
  public:
      TicTacToe();
      string getName1();
      string getName2();
      void printBoard();
      void clearBoard();
      void setName1(string player1Name);
      void setName2(string player2Name);
      void setSign1(string player1Sign);
      void setSign2(string player2Sign, string player1Sign);
      void playGame(string player1Name, string player2Name,string    player1Sign,string player2Sign);                  
      void player1Move(string coordX);
      void player1Turn();
      void player2Turn();
  private:
      char Board[3][3];
      string _player1Name;
      string _player2Name;
      string _player1Sign;
      string _player2Sign;
      string _coordX;
      string _coordY;
  };
  </code></pre>
  
  <p>And here is my TicTacToe.cpp :</p>
  
  <pre><code>#include "TicTacToe.h"
  #include &lt;iostream&gt;
  #include &lt;string&gt;
  
  TicTacToe::TicTacToe() {}
  
  void TicTacToe::playGame(string player1Name, string player2Name,
                           string player1Sign, string player2Sign) {
    TicTacToe Board;
    Board.setName1(player1Name);
    Board.setSign1(player1Sign);
    Board.setName2(player2Name);
    Board.setSign2(player1Sign, player2Sign);
    Board.clearBoard();
    Board.printBoard();
  }
  
  void TicTacToe::printBoard() {
    cout &lt;&lt; " |1|2|3|\n";
    for (int i = 0; i &lt; 3; i++) {
      cout &lt;&lt; "--------\n";
      cout &lt;&lt; i + 1 &lt;&lt; "|" &lt;&lt; Board[i][0] &lt;&lt; "|" &lt;&lt; Board[i][1] &lt;&lt; "|"
           &lt;&lt; Board[i][2] &lt;&lt; "|" &lt;&lt; endl;
    }
  }
  
  void TicTacToe::clearBoard() {
    for (int i = 0; i &lt; 3; i++) {
      for (int j = 0; j &lt; 3; j++) {
        Board[i][j] = ' ';
      }
    }
  }
  
  void TicTacToe::setName1(string player1Name) {
    cout &lt;&lt; "Enter your name, player 1: \n";
    cin &gt;&gt; player1Name;
    _player1Name = player1Name;
  }
  
  void TicTacToe::setName2(string player2Name) {
    cout &lt;&lt; "Enter your name, player 2: \n";
    cin &gt;&gt; player2Name;
    _player2Name = player2Name;
  }
  
  string TicTacToe::getName1() { return _player1Name; }
  
  string TicTacToe::getName2() { return _player2Name; }
  
  void TicTacToe::setSign1(string player1Sign) {
    cout &lt;&lt; "What will you sign be?(X/O)\n";
    cin &gt;&gt; player1Sign;
    if (player1Sign != "X" &amp;&amp; player1Sign != "O" &amp;&amp; player1Sign != "x" &amp;&amp;
        player1Sign != "o") {
      cout &lt;&lt; "Invalid input, try again.\n";
      cin &gt;&gt; player1Sign;
    }
    _player1Sign = player1Sign;
  }
  
  void TicTacToe::setSign2(string player2Sign, string player1Sign) {
    cout &lt;&lt; "What will you sign be?(X/O)\n";
    cin &gt;&gt; player2Sign;
  
    if (player2Sign != "X" &amp;&amp; player2Sign != "O" &amp;&amp; player2Sign != "x" &amp;&amp;
            player2Sign != "o" ||
        player2Sign == player1Sign) {
      cout &lt;&lt; "Invalid input, try again.\n";
      cin &gt;&gt; player2Sign;
    }
    _player2Sign = player2Sign;
  }
  
  void TicTacToe::player1Move(string coordX) // ERROR
  {
    cout &lt;&lt; "Enter X: " &lt;&lt; endl;
    cin &gt;&gt; coordX;
    _coordX = coordX;
  }
  
  void TicTacToe::player1Turn() {
    cout &lt;&lt; "Player 1 turn !\n";
    TicTacToe Board;
    Board.player1Move;
  }
  
  void TicTacToe::player2Turn() {
    cout &lt;&lt; "Player 2 turn !\n";
    TicTacToe Board;
    Board.player1Move;
  }
  </code></pre>
  
  <p>I have tried everything in other questions about this error but they didn't work. How do you fix this error?</p>