im using msvc++ and what i want to do is be able to scan through every
player file and check if they are a certain race, and if so, change it(for
deleting races in my online race editor). im good as far as dirent.h is
concerned. after some googling i came across a dirent.h/dirent.lib for a
windows machine, so i've popped them in theyre appropriate places:
C:\Program Files\Microsoft Visual Studio\VC98\Include
C:\Program Files\Microsoft Visual Studio\VC98\Lib
so now i can do:
#include <dirent.h>
without the compiler hissing at me, but now when i want to use the
closedir/readdir/opendir functions in the code the compiler tells me this:
olc_race.obj : error LNK2001: unresolved external symbol _closedir
olc_race.obj : error LNK2001: unresolved external symbol _readdir
olc_race.obj : error LNK2001: unresolved external symbol _opendir
ive never added include or lib files to msvc++ before so am i forgetting a
step or anything here? i know that closedir, readdir, and opendir are all in
the dirent.h and that it was meant for windows