I would like to send data to the parallel port. The material that I have read sujest outp() or outportb(). None of these work for me and I don't know why. I use DEV 4.0 with mingw 2.95.2. I am 6 months new to C and self taught. Here is my simple code:

#include<stdio.h>
#include<dos.h>
#include<conio.h>

int main()
{
outportb(0x378, 0xff);
getch();
}

The error I get is "implicit declaration of fuction init outportb()". Is the problem my compiler?

Thank you,
Andy