Solved

ANSI C dos_findfirst?

Posted on 1997-02-22
1
846 Views
Last Modified: 2010-08-05
Is there some ANSI C function that will give me similar effect as _dos_findfirst/_dos_findnext?

In other words: I want to write a *very* portable program and don't know how to get the directory contents.

Thanx,

Rupert
0
Comment
Question by:rupert
1 Comment
 

Accepted Solution

by:
rodent earned 20 total points
ID: 1249509
look up your API help for opendir() and closedir().. in dirent.h
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question