Escape Sequences

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

Go down

Escape Sequences

Post by Admin on Mon Jan 04, 2010 1:16 pm

v
v
v
v
v
v
v
v
v
v
v
READ ME<<<<<<<<<<<<<<<<
^
^
^
^
^
^
^

Examples:

code:
Code:
cout<<"This would output a single quote \'";
output:
This would output a single quote '




code:
Code:
cout<<"I like \ncookies";
output:
I like
cookies
avatar
Admin
Pirate King

Posts : 559

Back to top Go down

Re: Escape Sequences

Post by Corey on Mon Jan 04, 2010 10:49 pm

Mek. They took these out of the latest FreeBASIC compiler version. I hope they'll put them back in the next version.

_________________
-Corey Hoard

(Yes, I totally copied Paul's avatar. Or, at least attempted to.)
avatar
Corey
Mod

Posts : 462

Back to top Go down

Re: Escape Sequences

Post by Unchained on Tue Jan 05, 2010 1:19 am

There are numerous others.

\a -makes a beep
avatar
Unchained
Mod

Posts : 448

Back to top Go down

Re: Escape Sequences

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