I am writing a header file for a tic-tac-toe game. I am getting an error in my board initiailizaiton. please bear with me, I'm new at this.


The error I'm getting is:
Code:
cannot convert ‘<brace-enclosed initializer list>’ to ‘char’ in assignment
and here is the relevant code:
Code:
#include <iostream>

using namespace std;

class turn {

 public:
  turn();
  ~turn();
  void display();
  void getpick( char player );
  void change();

 private:
  char board[3][3];
  void valid();
};

turn::turn() {
 board[3][3] = {
  { 'a' , 'b' , 'c' },
  { ' ' , ' ' , ' ' },
  { ' ' , ' ' , ' ' } };
}