News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

how to clear screen in GNU GCC compiler?

Started by vikash, June 07, 2011, 07:53:25 PM

Previous topic - Next topic

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.3FQ: 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.

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

Topic locked !