I\'m currently writing a little program but I keep getting this error when compiling
error: empty character constant
I realize i
You can't store "no character" in a character - it doesn't make sense.
As an alternative you could store a character that has a special meaning to you - e.g. null char '\0' - and treat this specially.
'\0'