files in C++

F

Fsharmarke

Hi, a newbie to c++, i need a help about files, is there any short way to find
paths, directories, folders, and files in c++.
thanx 4 any help.
 
K

Karthik Kumar

Fsharmarke said:
Hi, a newbie to c++, i need a help about files, is there any short way to find
paths, directories, folders, and files in c++.
thanx 4 any help.

google.com .
 
R

Rolf Magnus

Fsharmarke said:
Hi, a newbie to c++, i need a help about files, is there any short way to
find paths, directories, folders, and files in c++.

Not in standard C++, which doesn't support a concept of directories or
getting a list of files. You have to use system-specific functionality.
 
M

Mike Wahler

Fsharmarke said:
Hi, a newbie to c++, i need a help about files, is there any short way to find
paths, directories, folders, and files in c++.

No, there's no short way. Or long way. Or any way at all.
Standard C++ has no concept of 'paths', 'directories', or
'folders'. You'll need platform-specific extensions or
third party functions.

-Mike
 
P

Peter Koch Larsen

Fsharmarke said:
Hi, a newbie to c++, i need a help about files, is there any short way to find
paths, directories, folders, and files in c++.
thanx 4 any help.

As Rolf and Mike said: no there's not. But you might take this opportunity
to go to boost (www.boost.org) which does have a library for that. I have
not tried it myself, but the general quality is excellent.


/Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,176
Messages
2,570,950
Members
47,503
Latest member
supremedee

Latest Threads

Top