M
problems with dev c++.
Trying to manipulate the LPT port (0x378), but always the same problem.using win98.
below you find the easy source code, but it doesn't work and always the same error
`_outp' undeclared (first use this function)
--------------------------------------------
#include <iostream>
#include <conio.h>
#include <stdio.h>
#include <dos.h>
using namespace std;
int main()
{
int y=5;
_outp(0x378,y);
return 0;
}
-----------------------------------
Thanks for helping me out.
Trying to manipulate the LPT port (0x378), but always the same problem.using win98.
below you find the easy source code, but it doesn't work and always the same error
`_outp' undeclared (first use this function)
--------------------------------------------
#include <iostream>
#include <conio.h>
#include <stdio.h>
#include <dos.h>
using namespace std;
int main()
{
int y=5;
_outp(0x378,y);
return 0;
}
-----------------------------------
Thanks for helping me out.