I just tried a little classes and object stuff and came over an error which I can't really figure out - mybe I'm too tired already or just not experienced enough.
The problem occurs when I want to pass over the adress of a char array pointer to another pointer due the return value of a function.
I gonna post the rest of the header file so you can see what function is returning that adress. Actually I didn't set the return value to a const char* just a char* - that's why I'm a bit confused why my compiler throws this error.
8 C:\Users\Charlie\Desktop\KI Project 2.0\main.cpp In file included from main.cpp
C:\Users\Charlie\Desktop\KI Project 2.0\Screen_output.h In member function `void Screen_output::player_create()':
26 C:\Users\Charlie\Desktop\KI Project 2.0\Screen_output.h invalid conversion from `const char*' to `char'
C:\Users\Charlie\Desktop\KI Project 2.0\Makefile.win [Build Error] [main.o] Error 1