Hi,
I can't seem to compile the following program:
under DevC++ 5 even if i change conio.h to conio.c.Code:#include <stdio.h> #include <conio.h> int main() { textbackground(4); clrscr(); cprintf( "THE BACKGROUND IS RED BUT TEXT IS NORMAL WHITE" ); getch(); return 0; }
When compiling using conio.h error is:
[Linker error] undefined reference to `textbackground'
[Linker error] undefined reference to `clrscr'
[Linker error] undefined reference to `cprintf'
When using conio.c: