Code::Blocks don't recognize clrscr()

hi everyone .....
I'm using Code::Blocks v8.02 .........
when I try to clear the screen using the function clrscr() ... it tells me
"`clrscr' was not declared in this scope"

no!!!! ...... i didn't forget to include <conio.h>


for now ......... system("cls") solves the problem ......,
but i wanna know what's happening


WHAT DOES IT WANT ??????


regards
thanks in advance ......
clrscr (as well as conio.h) are not part of the C++ standards
thanks Bazzy .....

this is not cool ......
every time i toggle from editor to another .... i find new things .....
You should avoid all non-standard/compiler-specific stuff
standard C++ works with any compiler in any operating system
Your problem is the use of old C headers. You need to use C++ headers and everything will work just fine.
thanks for the info
Topic archived. No new replies allowed.