How to clear screen in C in Codeblocks? [on hold]

Multi tool use
I am using Codeblocks for C programming, but clrscr() is not working and system("clear"); is not working properly in Xterm.
Could you please recommend me a code ?
c code-blocks
New contributor
userX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as off-topic by karel, Soren A, fkraiem, Pilot6, Eric Carvalho Mar 11 at 22:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – karel, Soren A, fkraiem, Pilot6, Eric Carvalho
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I am using Codeblocks for C programming, but clrscr() is not working and system("clear"); is not working properly in Xterm.
Could you please recommend me a code ?
c code-blocks
New contributor
userX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as off-topic by karel, Soren A, fkraiem, Pilot6, Eric Carvalho Mar 11 at 22:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – karel, Soren A, fkraiem, Pilot6, Eric Carvalho
If this question can be reworded to fit the rules in the help center, please edit the question.
This might help you: stackoverflow.com/questions/17793059/…
– Manu Mathur
Mar 10 at 17:12
code blocks is a environment that includes a compiler, linker, editor, debugger it has NOTHING to do with handling the terminal. What does your OS/shell use for clearing the screen? if nothing else works for you, then you could try using the ANSI escape sequences
– user3629249
Mar 10 at 23:40
I don't have any knowledge about ANSI escape sequence ... please give a example ???
– userX
Mar 11 at 16:04
add a comment |
I am using Codeblocks for C programming, but clrscr() is not working and system("clear"); is not working properly in Xterm.
Could you please recommend me a code ?
c code-blocks
New contributor
userX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am using Codeblocks for C programming, but clrscr() is not working and system("clear"); is not working properly in Xterm.
Could you please recommend me a code ?
c code-blocks
c code-blocks
New contributor
userX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
userX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Mar 10 at 17:03
FloT
591117
591117
New contributor
userX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Mar 10 at 15:09
userXuserX
1
1
New contributor
userX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
userX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
userX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as off-topic by karel, Soren A, fkraiem, Pilot6, Eric Carvalho Mar 11 at 22:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – karel, Soren A, fkraiem, Pilot6, Eric Carvalho
If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as off-topic by karel, Soren A, fkraiem, Pilot6, Eric Carvalho Mar 11 at 22:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – karel, Soren A, fkraiem, Pilot6, Eric Carvalho
If this question can be reworded to fit the rules in the help center, please edit the question.
This might help you: stackoverflow.com/questions/17793059/…
– Manu Mathur
Mar 10 at 17:12
code blocks is a environment that includes a compiler, linker, editor, debugger it has NOTHING to do with handling the terminal. What does your OS/shell use for clearing the screen? if nothing else works for you, then you could try using the ANSI escape sequences
– user3629249
Mar 10 at 23:40
I don't have any knowledge about ANSI escape sequence ... please give a example ???
– userX
Mar 11 at 16:04
add a comment |
This might help you: stackoverflow.com/questions/17793059/…
– Manu Mathur
Mar 10 at 17:12
code blocks is a environment that includes a compiler, linker, editor, debugger it has NOTHING to do with handling the terminal. What does your OS/shell use for clearing the screen? if nothing else works for you, then you could try using the ANSI escape sequences
– user3629249
Mar 10 at 23:40
I don't have any knowledge about ANSI escape sequence ... please give a example ???
– userX
Mar 11 at 16:04
This might help you: stackoverflow.com/questions/17793059/…
– Manu Mathur
Mar 10 at 17:12
This might help you: stackoverflow.com/questions/17793059/…
– Manu Mathur
Mar 10 at 17:12
code blocks is a environment that includes a compiler, linker, editor, debugger it has NOTHING to do with handling the terminal. What does your OS/shell use for clearing the screen? if nothing else works for you, then you could try using the ANSI escape sequences
– user3629249
Mar 10 at 23:40
code blocks is a environment that includes a compiler, linker, editor, debugger it has NOTHING to do with handling the terminal. What does your OS/shell use for clearing the screen? if nothing else works for you, then you could try using the ANSI escape sequences
– user3629249
Mar 10 at 23:40
I don't have any knowledge about ANSI escape sequence ... please give a example ???
– userX
Mar 11 at 16:04
I don't have any knowledge about ANSI escape sequence ... please give a example ???
– userX
Mar 11 at 16:04
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
MXugNfc8Ys4o0F3,MCrT GvP,Ra48m0qojbNgW06YtVJDpyd,mp8LxnRt2OmehTh4LEZ9XNlFU6D1 BEVky
This might help you: stackoverflow.com/questions/17793059/…
– Manu Mathur
Mar 10 at 17:12
code blocks is a environment that includes a compiler, linker, editor, debugger it has NOTHING to do with handling the terminal. What does your OS/shell use for clearing the screen? if nothing else works for you, then you could try using the ANSI escape sequences
– user3629249
Mar 10 at 23:40
I don't have any knowledge about ANSI escape sequence ... please give a example ???
– userX
Mar 11 at 16:04