What does “^L” mean in C?2019 Community Moderator ElectionWhat is the difference between #include <filename> and #include “filename”?What is the strict aliasing rule?What does “static” mean in C?What is the effect of extern “C” in C++?What is the difference between const int*, const int * const, and int const *?What does “dereferencing” a pointer mean?What does the C ??!??! operator do?What is “:-!!” in C code?Why does the C preprocessor interpret the word “linux” as the constant “1”?Why does ENOENT mean “No such file or directory”?
Air travel with refrigerated insulin
Isn't the word "experience" wrongly used in this context?
Would it be believable to defy demographics in a story?
pipe commands inside find -exec?
Exit shell with shortcut (not typing exit) that closes session properly
Hackerrank All Women's Codesprint 2019: Name the Product
How can I query the supported timezones in Apex?
10 year ban after applying for a UK student visa
What is the reasoning behind standardization (dividing by standard deviation)?
How can Newt cast Accio on a Niffler when it is only supposed to work on inanimate objects?
Error in master's thesis, I do not know what to do
What is it called when someone votes for an option that's not their first choice?
In the backstop position will the UK be able to negotiate FTAs?
Why is "la Gestapo" feminine?
Why are there no stars visible in cislunar space?
Is xar preinstalled on macOS?
Bash prompt display HH:MM:SS
Acquisition - what happens to stock?
Homology of the fiber
Why doesn't the chatan sign the ketubah?
Do I need to convey a moral for each of my blog post?
Would this string work as string?
Print last inputted byte
How can an organ that provides biological immortality be unable to regenerate?
What does “^L” mean in C?
2019 Community Moderator ElectionWhat is the difference between #include <filename> and #include “filename”?What is the strict aliasing rule?What does “static” mean in C?What is the effect of extern “C” in C++?What is the difference between const int*, const int * const, and int const *?What does “dereferencing” a pointer mean?What does the C ??!??! operator do?What is “:-!!” in C code?Why does the C preprocessor interpret the word “linux” as the constant “1”?Why does ENOENT mean “No such file or directory”?
For example, main
in src/hello.c
in the GNU Hello package ends like this:
exit (EXIT_SUCCESS);
}
^L
c
add a comment |
For example, main
in src/hello.c
in the GNU Hello package ends like this:
exit (EXIT_SUCCESS);
}
^L
c
8
It means that the program's done ... to L with it!
– Hot Licks
yesterday
I'm wondering though if that is an actual FF and the editor simply shows it like ^L, or if it's the characters "^L". If I were an editor, I'd show an FF like "♀" or "␌".
– Mr Lister
13 hours ago
add a comment |
For example, main
in src/hello.c
in the GNU Hello package ends like this:
exit (EXIT_SUCCESS);
}
^L
c
For example, main
in src/hello.c
in the GNU Hello package ends like this:
exit (EXIT_SUCCESS);
}
^L
c
c
edited yesterday
Peter Mortensen
13.8k1987113
13.8k1987113
asked yesterday
Sean LetendreSean Letendre
4711622
4711622
8
It means that the program's done ... to L with it!
– Hot Licks
yesterday
I'm wondering though if that is an actual FF and the editor simply shows it like ^L, or if it's the characters "^L". If I were an editor, I'd show an FF like "♀" or "␌".
– Mr Lister
13 hours ago
add a comment |
8
It means that the program's done ... to L with it!
– Hot Licks
yesterday
I'm wondering though if that is an actual FF and the editor simply shows it like ^L, or if it's the characters "^L". If I were an editor, I'd show an FF like "♀" or "␌".
– Mr Lister
13 hours ago
8
8
It means that the program's done ... to L with it!
– Hot Licks
yesterday
It means that the program's done ... to L with it!
– Hot Licks
yesterday
I'm wondering though if that is an actual FF and the editor simply shows it like ^L, or if it's the characters "^L". If I were an editor, I'd show an FF like "♀" or "␌".
– Mr Lister
13 hours ago
I'm wondering though if that is an actual FF and the editor simply shows it like ^L, or if it's the characters "^L". If I were an editor, I'd show an FF like "♀" or "␌".
– Mr Lister
13 hours ago
add a comment |
1 Answer
1
active
oldest
votes
Literally, it's a page break ("form feed") character. The compiler treats it as ordinary whitespace. But it's very useful for printing source code - it starts a new page (for example, use ^L
between functions to force each call to get its own page).
In Vim/vi based editors, you can insert such a character within edit mode by typing Ctrl + V followed by Ctrl + L. It will look like ^L
in the editor, but it's actually just one character (ASCII value: 12 or 0x0C).
"it starts a new page" elaborate on this? What do you mean by a page exactly?
– FireCubez
yesterday
6
If you would print the source code on paper, the printer would… start a new page.
– Hermann
yesterday
7
Literally this
– selbie
yesterday
8
@Croll Obviously that's been a short life. You've never had to deal with hundreds of pages of listing s from a line printer. You'd use it all right.
– user207421
yesterday
4
@Croll Well, it's hardly the first time someone's used whitespace to make code format nicely, is it?
– naomimyselfandi
yesterday
|
show 6 more comments
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55203770%2fwhat-does-l-mean-in-c%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Literally, it's a page break ("form feed") character. The compiler treats it as ordinary whitespace. But it's very useful for printing source code - it starts a new page (for example, use ^L
between functions to force each call to get its own page).
In Vim/vi based editors, you can insert such a character within edit mode by typing Ctrl + V followed by Ctrl + L. It will look like ^L
in the editor, but it's actually just one character (ASCII value: 12 or 0x0C).
"it starts a new page" elaborate on this? What do you mean by a page exactly?
– FireCubez
yesterday
6
If you would print the source code on paper, the printer would… start a new page.
– Hermann
yesterday
7
Literally this
– selbie
yesterday
8
@Croll Obviously that's been a short life. You've never had to deal with hundreds of pages of listing s from a line printer. You'd use it all right.
– user207421
yesterday
4
@Croll Well, it's hardly the first time someone's used whitespace to make code format nicely, is it?
– naomimyselfandi
yesterday
|
show 6 more comments
Literally, it's a page break ("form feed") character. The compiler treats it as ordinary whitespace. But it's very useful for printing source code - it starts a new page (for example, use ^L
between functions to force each call to get its own page).
In Vim/vi based editors, you can insert such a character within edit mode by typing Ctrl + V followed by Ctrl + L. It will look like ^L
in the editor, but it's actually just one character (ASCII value: 12 or 0x0C).
"it starts a new page" elaborate on this? What do you mean by a page exactly?
– FireCubez
yesterday
6
If you would print the source code on paper, the printer would… start a new page.
– Hermann
yesterday
7
Literally this
– selbie
yesterday
8
@Croll Obviously that's been a short life. You've never had to deal with hundreds of pages of listing s from a line printer. You'd use it all right.
– user207421
yesterday
4
@Croll Well, it's hardly the first time someone's used whitespace to make code format nicely, is it?
– naomimyselfandi
yesterday
|
show 6 more comments
Literally, it's a page break ("form feed") character. The compiler treats it as ordinary whitespace. But it's very useful for printing source code - it starts a new page (for example, use ^L
between functions to force each call to get its own page).
In Vim/vi based editors, you can insert such a character within edit mode by typing Ctrl + V followed by Ctrl + L. It will look like ^L
in the editor, but it's actually just one character (ASCII value: 12 or 0x0C).
Literally, it's a page break ("form feed") character. The compiler treats it as ordinary whitespace. But it's very useful for printing source code - it starts a new page (for example, use ^L
between functions to force each call to get its own page).
In Vim/vi based editors, you can insert such a character within edit mode by typing Ctrl + V followed by Ctrl + L. It will look like ^L
in the editor, but it's actually just one character (ASCII value: 12 or 0x0C).
edited yesterday
Peter Mortensen
13.8k1987113
13.8k1987113
answered yesterday
selbieselbie
56.3k1064124
56.3k1064124
"it starts a new page" elaborate on this? What do you mean by a page exactly?
– FireCubez
yesterday
6
If you would print the source code on paper, the printer would… start a new page.
– Hermann
yesterday
7
Literally this
– selbie
yesterday
8
@Croll Obviously that's been a short life. You've never had to deal with hundreds of pages of listing s from a line printer. You'd use it all right.
– user207421
yesterday
4
@Croll Well, it's hardly the first time someone's used whitespace to make code format nicely, is it?
– naomimyselfandi
yesterday
|
show 6 more comments
"it starts a new page" elaborate on this? What do you mean by a page exactly?
– FireCubez
yesterday
6
If you would print the source code on paper, the printer would… start a new page.
– Hermann
yesterday
7
Literally this
– selbie
yesterday
8
@Croll Obviously that's been a short life. You've never had to deal with hundreds of pages of listing s from a line printer. You'd use it all right.
– user207421
yesterday
4
@Croll Well, it's hardly the first time someone's used whitespace to make code format nicely, is it?
– naomimyselfandi
yesterday
"it starts a new page" elaborate on this? What do you mean by a page exactly?
– FireCubez
yesterday
"it starts a new page" elaborate on this? What do you mean by a page exactly?
– FireCubez
yesterday
6
6
If you would print the source code on paper, the printer would… start a new page.
– Hermann
yesterday
If you would print the source code on paper, the printer would… start a new page.
– Hermann
yesterday
7
7
Literally this
– selbie
yesterday
Literally this
– selbie
yesterday
8
8
@Croll Obviously that's been a short life. You've never had to deal with hundreds of pages of listing s from a line printer. You'd use it all right.
– user207421
yesterday
@Croll Obviously that's been a short life. You've never had to deal with hundreds of pages of listing s from a line printer. You'd use it all right.
– user207421
yesterday
4
4
@Croll Well, it's hardly the first time someone's used whitespace to make code format nicely, is it?
– naomimyselfandi
yesterday
@Croll Well, it's hardly the first time someone's used whitespace to make code format nicely, is it?
– naomimyselfandi
yesterday
|
show 6 more comments
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55203770%2fwhat-does-l-mean-in-c%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
8
It means that the program's done ... to L with it!
– Hot Licks
yesterday
I'm wondering though if that is an actual FF and the editor simply shows it like ^L, or if it's the characters "^L". If I were an editor, I'd show an FF like "♀" or "␌".
– Mr Lister
13 hours ago