Dec 1, 2003 #1 SteveyC Programmer Nov 25, 2003 5 GB Hi. How can I store a single quote in a char? Don't seem to be able to get it right. Cheers.
Dec 1, 2003 #2 Cagliostro Programmer Sep 13, 2000 4,226 GB how about: char x = '\'';/? Ion Filipski Upvote 0 Downvote
Dec 1, 2003 #3 ArkM IS-IT--Management Oct 21, 2002 1,819 RU Misprint? '\"' - common, well-documented escape... Upvote 0 Downvote
Dec 1, 2003 #4 Cagliostro Programmer Sep 13, 2000 4,226 GB I mean: char x = '\'';//single quote Ion Filipski Upvote 0 Downvote
Dec 1, 2003 Thread starter #5 SteveyC Programmer Nov 25, 2003 5 GB Oh yeah. Der! I even wrote the inverted comma using '\"' like 2 lines before it. *slaps his own head* Upvote 0 Downvote
Oh yeah. Der! I even wrote the inverted comma using '\"' like 2 lines before it. *slaps his own head*
Dec 2, 2003 #6 ArkM IS-IT--Management Oct 21, 2002 1,819 RU Sorry, IonFilipski: single quote. You was right. Upvote 0 Downvote