I would like a to define a variable string in C that contains the following set of characters: a-zA-Z0-9'-_”
.
Therefore I would do it like this:
char str[64] = "abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456789'-_""
As you can see the problem is at the end with "
character.
Question 1: How can I work around that?
Question 2: Is there a better way than my way to define a string like that?
PS: I didn't really know how to title my question, so if you got a better one, please edit it.