"AHR" <ah*@xx.xx> wrote in message
news:40***********************@dread11.news.tele.d k
Hi NG
I am learning MFC but only use the command promt at the moment to run
my C++ programs.
My problem is that i cant use clrscr() even if i include <conio.h>.
I get this error:
****
error C2065: 'clrscr' : undeclared identifier
****
Can anyone help?
Thanks
AHR
Your question is off-topic in this newsgroup since it is system specific.
The newsgroup
microsoft.public.vc.language
is the best place to ask (or you could try microsoft.public.vc.mfc).
The reason why you are getting the "undeclared identifier" message is
because clrscr is neither part of the C++ standard nor a Microsoft extension
to the C++ standard. Thus the function does not exist on your compiler. You
might try
system("cls");
--
John Carson
1. To reply to email address, remove donald
2. Don't reply to email address (post here instead)