hey boys, thanks alot!
i tried both your methods!
JohnFill, i wrote you a little thank you note it the other message post thang!
and thanks Nam for that dos command idea - its so simple! really useful!!
it worked so easily - i thought there must be a catch!
cheeeeeeeeerrrs!!!!!!!!!!!!
hey John - many thanks for that!
the people in this forum are really helpful - i have now
two solutions to the problem! (the other one uses a dos command )
!
well i tried your programme - i had to change the main
to int main(void)..
and its works!
it printed the first two files on the...
hi!
I tried the FindFirstFile function - but i had no documentation on how to use it..! i looked in the libary/header files - and found that they needed 2 inputs..
but what are they ? i tried playing around with pointer and strings but no joy!!
please could one of you helpful fella's give me 5...
hi John mate!
I still require a small bit of code that will let me read the contents of a directory - so i can find all .htm files!
i tried that #include <windows.h>
and used FindFirstFile
but i had no information on the parameters..
so i tried quite a few things - but no joy..
i then did...
i really have to hand this work in tommorow and i cant read a directory in DOS/windows!!!!!
(i found some souce code for unix - but header files were different) - need windows/dos!
please pleeease could somone give me a complete source code for reading files in a directory and printing them...
please help!! i really need a complete code (including header files)
to read a directory from DOS/windows in C
i can read in files easy - but dunno how to read directories..!
i need the programme really sooon
thankyou!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.