Solved

ANSI C dos_findfirst?

Posted on 1997-02-22
1
840 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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
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…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now