我想包含dinput.h,但CodeBlocks无法找到它。我在网上搜索,人们一直在寻找如何找到解决方案。如何包含dinput.h [C++]
#include <dinput.h>
是否有更简单的方法包括头?
这里是构建信息:
fatal error: dinput.h: No such file or directory
我想包含dinput.h,但CodeBlocks无法找到它。我在网上搜索,人们一直在寻找如何找到解决方案。如何包含dinput.h [C++]
#include <dinput.h>
是否有更简单的方法包括头?
这里是构建信息:
fatal error: dinput.h: No such file or directory
如果你能找到在本地文件系统中的文件,然后由它包含:
#include "Path to file/dinput.h"
在窗户更换/与\用引号将启用在文件系统中的搜索使用:
< >
使用环境变量。
没关系。我发现头文件在这里:
ftp://ftp.physik.hu-berlin.de/pub/useful/dx7asdk/DXF/include/dinput.h
就像一个魅力。
就必须做出一个新的文件,包含头文件是这样的:
include "dinput.h"
你怎么知道这是头的正确版本? – user4581301
我正在通过输出关键代码进行测试。它适用于我。也许它可能适用于其他人。 – thetester3
你知道,如果你甚至有你的系统上'dinput.h'?我从来没有听说过那个特定的标题。 – NathanOliver
dinput.dll是一个DirectC DLL,它可以处理DirectInput http://www.processlibrary.com/en/directory/files/dinput/21979/ –
什么功能需要'dinput.h'文件? –