An easy way to think of a string is that its an array of characters in C and a vector of characters in C++.
Meaning it can hold any character. If you want something like " ' or \ in it you need to put an escape character before it like
mystring = "\\"
mystring = "\""
sfuo
Practically a Master Poster
656 posts since Jul 2009
Reputation Points: 164
Solved Threads: 99
http://www.gillius.org/ctut/app_a.htm
you only need escape characters for a few specific characters because these characters are also key characters for the compiler
an underscore would just be mystring = "_"
ixmike88
Junior Poster in Training
54 posts since Sep 2010
Reputation Points: 9
Solved Threads: 4