I have setup a new class and in that new class I have a private pointer. I need to make that private pointer point to a string, let's say "Good Luck". My compiler doesn't allow me to code my private pointer like this
char *message = "Good Luck";
So I use
instead. Then in my constructor I am trying to set my private pointer, called message, to "Good Luck" and have not been able to get it to work.
Is this possible? If so can anybody help.