Posted: Fri Sep 08, 2006 11:14 am Post subject: my dev-c++
i have dev-c++ v.4992
i wrote this program
#include <stdio.h>
#include <conio.h>
#include <dos.h>
#define LPT1 0x378
int main(void)
{
unsigned char Valor=128; //in binar: 10000000
while( Valor > 0 )
{
outportb(LPT1, Valor); // Portb LPT1
printf("\n LED...");
getch( );
Valor = Valor >> 1;
}
}
and it not compile
what can i do to make-it compile?
i think i must put in include folder of devc++ some x.h or something but i dont now what or where to put.
please help-me.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum