why clrscr is undefined in visual studio 2010?

i use the code below in visual studio 2010 but it doesn' define clrscr();
what should i do?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
#include <conio.h>
#include <stdlib.h>

using namespace std;
template <class X> void swapArgs(X &a,X &b){
	X temp;
	temp=a;
	a=b;
	b=temp;

}
//**********************
int main(){
	int i=10,j=20;
	double x=10.1,y=23.3;
	char a='x',b='z';
	clrscr();
Topic archived. No new replies allowed.