作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一段代码试图使用 outportb(),但在 MinGw 上编译它时出现以下错误。
C:\Users\A_TOMAR\AppData\Local\Temp\ccYPvctv.o:dsp.c:(.text+0x68): undefined reference to `outportb'
#include <stdio.h>
#include <stdlib.h>
#include <dos.h>
int main(void)
{
outportb(0x378,0xFF);
return 0;
}
我想知道哪个头文件具有此特定功能?
最佳答案
谷歌搜索显示您的解决方案是 inpout32.dll ( example with weird font color )
关于c - 在 C 中引用 outportb() 函数时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7317871/
我有一段代码试图使用 outportb(),但在 MinGw 上编译它时出现以下错误。 C:\Users\A_TOMAR\AppData\Local\Temp\ccYPvctv.o:dsp.c:(.t
我是一名优秀的程序员,十分优秀!