Dec 1, 2003 #1 SteveyC Programmer Joined Nov 25, 2003 Messages 5 Location 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 Joined Sep 13, 2000 Messages 4,226 Location GB how about: char x = '\'';/? Ion Filipski Upvote 0 Downvote
Dec 1, 2003 #3 ArkM IS-IT--Management Joined Oct 21, 2002 Messages 1,819 Location RU Misprint? '\"' - common, well-documented escape... Upvote 0 Downvote
Dec 1, 2003 #4 Cagliostro Programmer Joined Sep 13, 2000 Messages 4,226 Location GB I mean: char x = '\'';//single quote Ion Filipski Upvote 0 Downvote
Dec 1, 2003 Thread starter #5 SteveyC Programmer Joined Nov 25, 2003 Messages 5 Location 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 Joined Oct 21, 2002 Messages 1,819 Location RU Sorry, IonFilipski: single quote. You was right. Upvote 0 Downvote