Author Topic: how to clear screen in GNU GCC compiler?  (Read 10512 times)

Offline vikash

  • Multiple posting newcomer
  • *
  • Posts: 23
how to clear screen in GNU GCC compiler?
« on: June 07, 2011, 07:53:25 pm »
(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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: how to clear screen in GNU GCC compiler?
« Reply #1 on: June 07, 2011, 07:57:52 pm »
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.

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

Topic locked !