I am working on my final homework assignment, and I have just started.

All I want to do is initalize the array of pointers in a function with values. I declared it correctly but according to the compiler im not allowed to initalize it in an independant function?

The way around it is to declare the array and initalize it, but then I would have to take it out of the class member list and I do not want to do that, somthing like:

Code:
*pFilmList[  5 ] = { "", "", "", "", "" };
As you know, the above would work as an altenative. But I dont understand what is wrong with the way I have done it below? I have posted the errors messages below.

Code:
class Cinema
{
public:
	Cinema();
	~Cinema();

	static const int MAX_ROWS = 20;
	static const int MAX_COLS = 20;
	static const int MAX_FILM = 5;

	void initSeating ( char[][ 20 ] );
	void initFilms ( char*[] );

private:
	char m_Seating[ MAX_ROWS ][ MAX_COLS ];
	char *pm_Films[ MAX_FILM ];
};

Cinema::Cinema()
{
	initSeating ( m_Seating );
	initFilms ( pm_Films );
}

Cinema::~Cinema() 
{
}

// function 
void Cinema::initSeating ( char seats[][ 20 ] )
{
	for ( int i = 0; i < 20; i++ )
	{
		for ( int j = 0; j < 20; j++ )
			seats[ i ][ j ] = 0;
	}
}

// FUNCTION WITH ERRORS
void Cinema::initFilms ( char *pFilms[] )
{
	*pFilms[ MAX_FILM ] = { "sdds", "ddsd", "sdsd", "Wdeds", "sdsd" };
}
Errors:

exercises\11 cinema system\11 cinema system\main.cpp(65) : error C2059: syntax error : '{
exercises\11 cinema system\11 cinema system\main.cpp(65) : error C2143: syntax error : missing ';' before '}'