How to cycle through all Windows files and directories in C?
#1
Hello! So I've been doing some programming in C and I've been stuck on a single bit. I've tried looking at how to recursively go and search through different files and directories in Windows. I've tried using Window's API with FindFirstFile() and FindNextFile(), but it's not working very well, even with pre-made examples online. Does anyone here have any examples they've made in C that they're willing to share? Or any resources I could take a look at? Thanks!
Reply
#2
This stackoverflow question and This C header might help when it comes to directory navigation.
Reply
#3
(02-04-2021, 09:40 PM)_is_Bored Wrote: This stackoverflow question and This C header might help when it comes to directory navigation.

Dude. Not even going to lie. Saved me a few hours there. Thanks a lot.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cross-Platform Socket Header (and additional reference) poppopret 1 21,386 03-07-2021, 08:58 PM
Last Post: Wipe_TS