View Single Post
Old Oct 27th, 2005, 5:06 PM   #1
farnush
Newbie
 
Join Date: Oct 2005
Posts: 12
Rep Power: 0 farnush is on a distinguished road
Help stupid problem with clrscr

#include<math.h>  
#include<stdio.h>  
#include<stdlib.h>  
#include<conio.h>    
void main()  
{  
             clrscr();  
	int i;
  	for (i=1;i<10;i++)  	
{	printf("the values of the square root of %d is %d \n",i,sqrt((double)i));    	}
  }


guys my compiler Turbo c is saying that declaration not allowed here .... for the clrscr line... i know it may sound stupid ... need help
farnush is offline   Reply With Quote