escape thingies

CMPC :: Computing :: Programming :: C++

Go down

escape thingies

Post by Lunsfordium on Sat Mar 27, 2010 5:32 am

there like /a and stuff
and they do stuff toooo (thats really important)
avatar
Lunsfordium
[Blankie]

Posts : 194

Back to top Go down

Re: escape thingies

Post by Paul on Sat Mar 27, 2010 5:59 am

To begin with the slash is the OTHER way.
\" = " rather than closing the string
\' = ' rather than closing the string
\b = backspace
\t = tab
\n = new line
\\ = \ rather than indicating an escape sequence
\0 = null character (hex 00) (those are zeroes)
\a = Alert (beep sound)
\r = carriage return
\x00 - \xFF = ascii character (where the hexadecimal number represents the ascii character desired)
\o000 - \o377 = same as above only an octal value instead
\000 - \255 = same as above only a decimal value

thats all I can remember at the moment. . .
avatar
Paul
Pickaxe

Posts : 611

Back to top Go down

Re: escape thingies

Post by Unchained on Sat Mar 27, 2010 9:54 am

Are you learning C++ now?

_________________
Life happens. - Zach (me)

All you've got to worry about is right here, right now. - David Lee Roth
avatar
Unchained
Mod

Posts : 448

Back to top Go down

Re: escape thingies

Post by Admin on Sat Mar 27, 2010 4:36 pm

They're call ESCAPE SEQUENCES. Now you have the keyword to google it Razz

_________________
avatar
Admin
Pirate King

Posts : 559

Back to top Go down

Re: escape thingies

Post by Paul on Sat Mar 27, 2010 5:39 pm

oh yeah, I forgot to mention what they are called. Whoos! Smile
avatar
Paul
Pickaxe

Posts : 611

Back to top Go down

Re: escape thingies

Post by melanation on Tue Mar 30, 2010 3:26 pm

lol, we need to sign all you guys up for "Teaching 101"
avatar
melanation
Clown

Posts : 294

Back to top Go down

Re: escape thingies

Post by Unchained on Tue Mar 30, 2010 9:40 pm

I have been teaching computer things for years...

_________________
Life happens. - Zach (me)

All you've got to worry about is right here, right now. - David Lee Roth
avatar
Unchained
Mod

Posts : 448

Back to top Go down

Re: escape thingies

Post by Lunsfordium on Tue Mar 30, 2010 11:17 pm

ya but we dont see you at school

and the people who aare there are only doing what they want ----IF THEY're EVEN THERE (coughs)*Allen*(coughs)
avatar
Lunsfordium
[Blankie]

Posts : 194

Back to top Go down

Re: escape thingies

Post by Unchained on Wed Mar 31, 2010 7:13 am

Haha well I'll teach you at home if you pay my $10 an hour rate.

_________________
Life happens. - Zach (me)

All you've got to worry about is right here, right now. - David Lee Roth
avatar
Unchained
Mod

Posts : 448

Back to top Go down

Re: escape thingies

Post by Lunsfordium on Tue Aug 10, 2010 5:03 am

if your really good then it will only take $5
avatar
Lunsfordium
[Blankie]

Posts : 194

Back to top Go down

Re: escape thingies

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

CMPC :: Computing :: Programming :: C++

 
Permissions in this forum:
You cannot reply to topics in this forum