User forums > Using Code::Blocks

how to clear screen in GNU GCC compiler?

(1/1)

vikash:
(1) In visual C++ I use system("cls") to clear screen what should i use in GNU GCC compiler in code::blocks.
(2) In visual C++ I use exit(0) to close all things and end program at that location what should i use in GNU GCC compiler as provided by code::blocks.
these two keywords are flagged as error in code::blocks that's why i am asking this.

Jenna:

--- Quote from: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F ---Q: What Code::Blocks is not?

A: Code::Blocks is not a compiler, nor a linker. Release packages of Code::Blocks may include a compiler suite (MinGW/GCC), if not provided by the target platform already. However, this is provided "as-is" and not developed/maintained by the Code::Blocks development team.
--- End quote ---

This question is not a C::B related, but a general programming question and therefore violating our forum rules.

Topic locked !

Navigation

[0] Message Index

Go to full version