thread closed. problem solved. thanks KFSPC8.

Discuss about Programming here. You may release your source, post guide and even ask questions!

Moderator: wizme

Post Reply
happy125
Headmaster of Darkness
Headmaster of Darkness
Posts: 549
Joined: Tue Jun 22, 2010 10:06 pm
Location: Singapore

thread closed. problem solved. thanks KFSPC8.

Post by happy125 »

i tried to google for clearscreen but none of them seem to work. i tried clrscr(), system("CLS"),fflush(stdout) but none seem to work. im using GNU GCC complier

i have included these:

Code: Select all

#include<iostream>
#include<conio.h>
#include<cstdlib>
Last edited by happy125 on Sun Dec 19, 2010 11:17 pm, edited 1 time in total.
If ur good at smth, never do it for free.
Maple ID list v1.02
Image
Image
Image
User avatar
KFSPC8
Master of Darkness
Master of Darkness
Posts: 494
Joined: Sat Jun 05, 2010 6:18 pm
Location: Singapore

Re: [help]C++ clearscreen

Post by KFSPC8 »

try including

#include <windows.h>
system("cls");
happy125
Headmaster of Darkness
Headmaster of Darkness
Posts: 549
Joined: Tue Jun 22, 2010 10:06 pm
Location: Singapore

Re: [help]C++ clearscreen

Post by happy125 »

i got it working already. its system("cls"); instead of system("CLS");. thanks.
If ur good at smth, never do it for free.
Maple ID list v1.02
Image
Image
Image
Post Reply