Hi all, I am trying to make a class call stack which will hold a series of string. I am attempting to make the constructor but I am having trouble with getting it to work as I am using a c string.
Code:
class stack {
	private:
		int depth;
		int current;
		char *stack_layer[100];

	public:
		stack(char item) {
			stack_layer=item;
		};

};
What am I doing wrong? I get the fallowing compiler error.
error C2440: '=' : cannot convert from 'char *__w64 []' to 'char *[100]'