2016-06-07 65 views
-4

我想包含dinput.h,但CodeBlocks無法找到它。我在網上搜索,人們一直在尋找如何找到解決方案。如何包含dinput.h [C++]

#include <dinput.h>

是否有更簡單的方法包括頭?

這裏是構建信息:

fatal error: dinput.h: No such file or directory

+4

你知道,如果你甚至有你的系統上'dinput.h'?我從來沒有聽說過那個特定的標題。 – NathanOliver

+0

dinput.dll是一個DirectC DLL,它可以處理DirectInput http://www.processlibrary.com/en/directory/files/dinput/21979/ –

+0

什麼功能需要'dinput.h'文件? –

回答

0

如果你能找到在本地文件系統中的文件,然後由它包含:

#include "Path to file/dinput.h" 

在窗戶更換/與\用引號將啓用在文件系統中的搜索使用:

< > 

使用環境變量。