problems with the first tutorial :(
I'm getting errors with the first graphic tutorial.
why did it had to contain ASM-language :(((
Anyway, this is what my program looks like:
void MEMPutpixel(int, int, unsigned char);
int x=100, y=100;
void MEMPutpixel (int x, int y, unsigned char Col)
_AX = 0x0003;
_AX = 0x0013;
I get errors on the MEMPutpixel thing, saying:
Error BIN\Grap.CPP 60: Cannot convert 'int' to 'void *'
Error BIN\Grap.CPP 60: Type mismatch in parameter '__s' in call to 'memset(void *,int,unsigned int)'
I don't understand what's wrong. I used the exact code from the tutorial.
Anyone could help me out here???
Thanks in advance,