View Full Version : C++ Question
mdklatt
8/25/2008, 11:08 AM
How do I turn an escape sequence in a string (i.e. "\t") into a single character (i.e. '\t')? I guess I need to use a lookup table to equate '\' + 't' with '\t'? Ugh.
I'm not even sure what you are asking...
I hate everything to do with strings in C/C++
mdklatt
8/25/2008, 11:20 AM
I'm not even sure what you are asking...
:les: THEN YOU PROBABLY CAN'T HELP ME!
yermom
8/25/2008, 11:24 AM
i almost know what you are asking :D
soonerinabilene
8/25/2008, 11:26 AM
wouldnt a c++ be about the same as a b-? Maybe that will help ya.
yermom
8/25/2008, 11:31 AM
http://msdn.microsoft.com/en-us/library/6aw8xdf2.aspx
?
mdklatt
8/25/2008, 11:32 AM
i almost know what you are asking :D
How I turn a string like "\\t" into the single character '\t'?
SoonerInKCMO
8/25/2008, 12:07 PM
I'd answer your question, but your employer decided against hiring me. :D
SoonerInKCMO
8/25/2008, 12:08 PM
Step 1. Program in a language that doesn't consider strings and characters as separate data types.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.