Basically I've got a const string (it stays the same lenght) Only trying to implement it into OOP.
heres the constructor:
score::score(void)
{
lives = 5;
char * end =
{
" --------------+-\n"
" + |\n "
"+ ?\n"
" +\n"
" +\n"
" +\n"
" +\n"
};
strcpy( death, end);
}
but the program fails to run when I excute it, so kinda stuck and puzzled.