i have this code:
im trying to get to videomode (im starting to learn some graphics programming)Code:#include <stdio.h> #include <bios.h> void StandardVideoMode(int mode) { asm{move ax,mode int 10h } } int main() { StandardVideoMode(19); return 0; }
and it gives me the following:
>>
gra.c: In function 'StandardVideoMode':
gra.c:6: parse error before '{' token
gra.c:7: invalid suffix on integer constant
<<
what to do ?
my compiler is djgpp(2.3 ?)/gcc