hey..will anyone tell me how to browse files and folders in a drive using C??
cool_zephyr 7 Junior Poster in Training
Recommended Answers
Jump to Posthey..will anyone tell me how to browse files and folders in a drive using C??
Depends on the operating system.
- MS-Windows: FindFirstFile() and FindNextFile().
- *nix: opedir(), readdir()
Google for those key words and you will find more information about how to use those functions.
All 4 Replies
kvprajapati 1,826 Posting Genius Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
cool_zephyr 7 Junior Poster in Training
Salem 5,265 Posting Sage
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.