hi, im new to winpcap, and this is the first library i am using that did not come with bloodshed. im certain its something im doing wrong, but i keep getting a file not found error. ive installed winpcap using the installer, and then added #include <pcap.h> to my code. it then says it cant find it, but for some reason its looking in my save directory, which is My Documents\c++
i know its not in there, so i did a search on my entired computer and it couldnt find pcap.h.
i then did one for *pcap* and it didnt show up any header files, just a .dll and a few executables.
Again, im sure im in the wrong, and ive read tutorials that were compiled with bloodshed, just not any setup instructions for winpcap.
if anyone knows what i need to fix, any help would be much appreciated.
heres what im trying to run, its just hello world with an extra include
Code:#include <iostream> #include <pcap.h> using namespace std; int main () { cout << "Hello World"; return 0; }