dlaczego jak skompiluje niżej pokazany program to wychodzi aż sześć błędów ?
program ściągłę z neta :
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
_outp(port, dane);
_inp(port);
return 0;
}
a oto błędy:
5 untitled1.cpp
for each function it appears in.)
5 untitled1.cpp
`dane' undeclared (first use this function)
5 untitled1.cpp
implicit declaration of function `int _outp(...)'
6 untitled1.cpp
implicit declaration of function `int _inp(...)'
co mam zrobić aby nie było tych błędów??
program ściągłę z neta :
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
_outp(port, dane);
_inp(port);
return 0;
}
a oto błędy:
5 untitled1.cpp
for each function it appears in.)
5 untitled1.cpp
`dane' undeclared (first use this function)
5 untitled1.cpp
implicit declaration of function `int _outp(...)'
6 untitled1.cpp
implicit declaration of function `int _inp(...)'
co mam zrobić aby nie było tych błędów??