Or you could just write your own clear screen function
Code:
//Basic Functions..
//basicf.h
#ifndef _BASICF_H_
#define _BASICF_H_
#include<windows.h>
void clrscr()
{
HANDLE hOutput = GetStdHandle(STD_OUTPUT_HANDLE);
COORD cScreenStart={0,0};
DWORD dwScreenSize;
DWORD dwCharsWritten;
CONSOLE_SCREEN_BUFFER_INFO cWindowInfo;
GetConsoleScreenBufferInfo(hOutput,&cWindowInfo);
dwScreenSize = cWindowInfo.dwSize.X * cWindowInfo.dwSize.Y;
FillConsoleOutputCharacter(hOutput,TEXT(' '),dwScreenSize,cScreenStart,&dwCharsWritten);
GetConsoleScreenBufferInfo(hOutput,&cWindowInfo);
FillConsoleOutputCharacter(hOutput,TEXT(' '),dwScreenSize,cScreenStart,&dwCharsWritten);
SetConsoleCursorPosition(hOutput,cScreenStart);
}
#endif // _BASICF_H_
Just include it as a header file...and well then youve got your very own clear screen function