|
-
Aug 19th, 2001, 12:43 AM
#1
-
Aug 19th, 2001, 01:20 AM
#2
I believe :
PHP Code:
#include <iostream>
using namespace std;
int main()
{
system("cls");
return 0;
}
will work
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Aug 19th, 2001, 01:31 AM
#3
Thanks, that worked. 
BTW, how did you make the code say "PHP"?
Is there a way to make it C\C++ or VB?
-
Aug 19th, 2001, 01:33 AM
#4
For the little I use them, I do C/C++ code in [ PHP ][ /PHP ] tags (without the spaces) and for VB code in the [ vbcode ][ /vbcode ] tags (without the spaces)
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Aug 19th, 2001, 10:34 AM
#5
If you are using borland, they have a function called clrscr(), which will clear the screen.
Note that this function is not part of the ANSI standard.
-
Aug 19th, 2001, 10:53 AM
#6
I used system("cls") since I try to stick to the ANSI standard.
BTW, isn't this command system-dependent?
-
Aug 19th, 2001, 03:36 PM
#7
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|