(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.