Hope this helps newbies.
clrscr()
system("clear"); //Needs cstdlib headder file so do #include<cstdlib>
getch()
getchar(); // Needs stdio.h so do #include<stdio.h>
And yeah, always use using namespace std; after including headders. Need that because actual usage of cout...
Is it possible to use functions like clrscr(), gotoxy() in gcc? I have found that conio.h is for windows only, but is there any workaround to be able to use it in linux?
Hi
I have a question. I have been using turboc C for some time now. I heard that DevCPP is better, so now I am using it on Windows. And on linux, I am using Anjuta that comes with opensuse 10.2
Now the problem is that, the function clrscr, used to clear the screen is not avalable in both...
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.