我想包含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'文件? –