View Full Version : my MS vC++ compiler does not have DIR.H, can't find on the web...HELP

03-19-2002, 10:31 AM
I've discovered that <DIR.H> is what I need.
it is not found on my computer.
I'm writting a console app in win2000.
NOTE: I'm using a begginers version of Microsoft Visual c++
could that be the problem? AND I have not been able to find this DIR.H on the net.....can anyone help?

03-19-2002, 10:36 AM
here's it.

but i use Borland 3.0

hope it works.

03-19-2002, 10:39 AM
Geez, people. The header doesn't really mean anything, the magic's all in the .lib files which normally aren't portable. You'll either have to use an alternative to whatever you have to do (there's always an alternative) or use another compiler.

04-03-2002, 10:52 AM
But there are very few libraries. 1 of them will support several .h files, even though the .h file only contain preprocessor macros, some documentation, and maybe a few struct delcaarations, the file may be all he's missing. That's necessary too. If he IS missing the library too, there'll be a lot of missing files, which he probably will have noticed by now.

04-03-2002, 01:24 PM
Also....any libry he tries from another compiiler will most likely choke on MSVC++.....not to mention that libraries are also copywrited....

For MSVC....go to MSDN and look up FindFirstFile() and FindNextFile()