Solved

ANSI C dos_findfirst?

Posted on 1997-02-22
1
835 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
Comment Utility
look up your API help for opendir() and closedir().. in dirent.h
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
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 structures in the C programming language.
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.

762 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

13 Experts available now in Live!

Get 1:1 Help Now