get the file names?

D

Deephay

Greetings all,

How can I get the filenames in the current directory?
I am working under linux, g++ compiler. TIA.

Deephay
 
N

Neelesh Bodas

Deephay said:
Greetings all,

How can I get the filenames in the current directory?
I am working under linux, g++ compiler. TIA.

[Off Topic]
Std C++ doesnot give a way to do this since concept of directories and
files is platform-specific aspect. Try comp.os.linux

[As An Aside]
Lookup readdir, opendir, seekdir (man pages)
 
D

Deephay

thx!

Neelesh Bodas said:
Greetings all,

How can I get the filenames in the current directory?
I am working under linux, g++ compiler. TIA.

[Off Topic]
Std C++ doesnot give a way to do this since concept of directories and
files is platform-specific aspect. Try comp.os.linux

[As An Aside]
Lookup readdir, opendir, seekdir (man pages)
 
D

Deephay

thx!

Neelesh Bodas said:
Greetings all,

How can I get the filenames in the current directory?
I am working under linux, g++ compiler. TIA.

[Off Topic]
Std C++ doesnot give a way to do this since concept of directories and
files is platform-specific aspect. Try comp.os.linux

[As An Aside]
Lookup readdir, opendir, seekdir (man pages)
 

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,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top