Escape Character

Date: 2010-05-30 03:00 (UTC)
From: (Anonymous)
Backslashes are primarily used as an escape character.

Eg. in C the following piece of code

#include
[Error: Irreparable invalid markup ('<stdio.h>') in entry. Owner must fix manually. Raw contents below.]

Backslashes are primarily used as an escape character.

Eg. in C the following piece of code

#include <stdio.h>

int main(void)
{
printf("This\nis\ta\ntest.\n");
return 0;
}

would show the following result

This
is a
test.

the escape character being the \ and the n then standing for "a new line" or t standing for "a tab".
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

February 2025

S M T W T F S
      1
2345678
91011121314 15
16171819202122
232425262728 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 2nd, 2025 21:26
Powered by Dreamwidth Studios