I have to use Miracle C at college, but there is no way i can see of having coloured txt .
The compiler doesn't come with conio.h and so i added the conio.h file from Turbo C to try and make it work.
This is a test piece of code i used:
#include <stdio.h>
#include <conio.h>
void main()
{
colortext(4);
printf("Hello, This text should be RED!!");
getch();
}
this is the error i keep getting when try to compile:
Miracle C Compiler (r3.2), written by bts.
c:\Program Files\Miracle C\include\conio.h: line 41: Parse Error, expecting `'}''
'enum text_modes { LASTMODE=-1, BW40=0, C40, BW80, C80, MONO=7, C4350=64 }'
aborting compile
I prosoume it doesnt like some of the functions/statements used in the conio.h?
and way of gettin round this problem? diffrent version of the conio.h file maybe? or some other funtions/header files that can sort it instead?
Thankz For Ya Help!!!
Paul Roseby