|
From: Daniel W. <d_w...@ho...> - 2002-03-27 00:06:19
|
Yeah, that program works fine but if you want to change the text color, =
with something like this:
#include <conio.h>
#include <iostream.h>
int main()
{
cout << "Enter any key." << endl;
getche();
textcolor(10);
cout << " whatever you want to happen leave the program call a =
function??" <<endl;
getche();
return(0);
}
then the linker will throw an error. This error is evitable by vreating =
this file into a project and in "Further object files..." in the Project =
options, add the conio.o library.
But then, the getche() will act as if it were reading a string.
Thats the problem: i need to use getche() and textcolor() at the same =
time
Daniel Wilches M.
dwi...@ma...
|