while running C prog, I get conio.h header file error
807578Sep 30 2010 — edited Oct 1 2010Dear All
I am new to c programing in solaris. I have install the SUN STUDIO 12. I can compile normal C programs through gcc or cc command but when I run following program with <conio.h> header file , I get error say like conio.h doesn't exit means I get error related to "clrscr()" & "getch()" function. I have little bit worked on Turbo C in windows. If suppose below content are store in abc.c file
#include<stdio.h>
#include<conio.h>
void main()
(
clrscr();
print("Enter three number");
int x,y,z,a;
scanf("%d%d%d",&x,&y,&z);
a=x+y+z;
printf(" Sum of three numbers are %d',a);
}
I am getting same kind of errors in math.h & graphics.h header files also.
Please help me in this issue