textcolor();

im using turbo c++ 4.5 and turbo c++3.0

i used
1
2
3
4
5
6
7
8
9
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
textcolor(4);
cprintf("Helllo world");
getch();
}

in c++ 3.0 it showed no error but when i used the same code in 4.5 it showed error

" call to undefined function 'textcolor' in function main; "

any solutions ?
I don't know Turbo C++, so take this with a pinch of salt, but:

Presumably, whatever library provides the textcolor() function in 3.0 was changed for 4.5. Have a look at the documentation for the newer version to find out.
Topic archived. No new replies allowed.