Solved

getfirst getnext in Linux

Posted on 1997-04-02
1
257 Views
Last Modified: 2006-11-17
In DOS you have the getfirst and getnext fucntions when you want to itterate through the files in a directory.
But what about Linux g++ ?
I dont think I have seen the getfirst and getnext functions,
what to use instead ?
0
Comment
Question by:LarsC
1 Comment
 
LVL 4

Accepted Solution

by:
jos010697 earned 50 total points
ID: 1162540
Check your manual pages for opendir(3) and readdir(3)

kind regards,

Jos
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

776 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