Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: autorun Pin
DaFrawg14-May-04 1:39
DaFrawg14-May-04 1:39 
GeneralSkinMagic library Pin
Krugger40413-May-04 19:31
Krugger40413-May-04 19:31 
GeneralRe: SkinMagic library Pin
Anthony_Yio14-May-04 1:40
Anthony_Yio14-May-04 1:40 
GeneralRe: SkinMagic library Pin
Prakash Nadar14-May-04 1:43
Prakash Nadar14-May-04 1:43 
GeneralRe: SkinMagic library Pin
Anthony_Yio14-May-04 2:04
Anthony_Yio14-May-04 2:04 
GeneralRe: SkinMagic library Pin
Prakash Nadar14-May-04 4:50
Prakash Nadar14-May-04 4:50 
GeneralRe: SkinMagic library Pin
Prakash Nadar14-May-04 1:45
Prakash Nadar14-May-04 1:45 
GeneralControl character manipulation Pin
Member 107640813-May-04 18:18
Member 107640813-May-04 18:18 
Hello,

In a C++ program, I would like to change the string

"ty^Hypescript ^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H
^H^H ^H^H ^H^H ^H^G^G^G^G^Gty^Hypescript ^H ^H^H ^H^H ^H^H ^H^M"

into the string

"typescript".



The letters like '^H', '^H^H', and '^G' represents some of the ANSI control characters such as backspace. (the characters are shown on VI editor.)

So, I think it's possible to process control characters within a code, like a VT100 virtual terminal does.( In deed, I am not sure whether the process is done in a terminal, shell or whatever.)

If you have a sample code or a function to suggest, please post them. Thank you.
GeneralRe: Control character manipulation Pin
jmkhael14-May-04 0:06
jmkhael14-May-04 0:06 
Generalunicode question Pin
nm_11413-May-04 18:16
nm_11413-May-04 18:16 
GeneralRe: unicode question Pin
Ryan Binns13-May-04 18:24
Ryan Binns13-May-04 18:24 
GeneralRe: unicode question Pin
Anthony_Yio14-May-04 0:41
Anthony_Yio14-May-04 0:41 
GeneralRe: unicode question Pin
Joe Woodbury14-May-04 9:59
professionalJoe Woodbury14-May-04 9:59 
QuestionWhere can I get a information about Window Protected-Mode? Pin
johnny,Kim13-May-04 18:07
johnny,Kim13-May-04 18:07 
AnswerRe: Where can I get a information about Window Protected-Mode? Pin
ian mariano13-May-04 18:22
ian mariano13-May-04 18:22 
AnswerRe: Where can I get a information about Window Protected-Mode? Pin
Alexander M.,14-May-04 2:55
Alexander M.,14-May-04 2:55 
AnswerRe: Where can I get a information about Window Protected-Mode? Pin
David Crow14-May-04 4:35
David Crow14-May-04 4:35 
GeneralHooks .. Pin
progman13-May-04 13:11
progman13-May-04 13:11 
GeneralRe: Hooks .. Pin
Abin13-May-04 14:46
Abin13-May-04 14:46 
GeneralRe: Hooks .. Pin
progman13-May-04 15:21
progman13-May-04 15:21 
GeneralRe: Hooks .. Pin
Abin14-May-04 3:04
Abin14-May-04 3:04 
GeneralRe: Hooks .. Pin
vividtang13-May-04 18:50
vividtang13-May-04 18:50 
GeneralMDI App in VS.NET Pin
#realJSOP13-May-04 12:29
professional#realJSOP13-May-04 12:29 
GeneralRe: MDI App in VS.NET Pin
Joe Woodbury13-May-04 12:49
professionalJoe Woodbury13-May-04 12:49 
GeneralRe: MDI App in VS.NET Pin
Antony M Kancidrowski14-May-04 4:00
Antony M Kancidrowski14-May-04 4:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.