CMPC
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Escape Sequences

3 posters

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

Go down

Escape Sequences Empty Escape Sequences

Post by Admin 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
Admin
Admin
Pirate King

Posts : 559

Back to top Go down

Escape Sequences Empty Re: Escape Sequences

Post by Corey 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
Corey
Mod

Posts : 462

Back to top Go down

Escape Sequences Empty Re: Escape Sequences

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

There are numerous others.

\a -makes a beep
Unchained
Unchained
Mod

Posts : 448

Back to top Go down

Escape Sequences Empty 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