General File management Library

Y

yazwas

Hi,
I'm looking for a file management library in C++, i.e library that has
createfile, readfile, movefile, ...etc I need it for linux espically,
it no general one is available
does anyone have any idea,
Thankx
 
D

David Harmon

On 8 May 2007 15:04:50 -0700 in comp.lang.c++ said:
Hi,
I'm looking for a file management library in C++, i.e library that has
createfile, readfile, movefile, ...etc

Why do you need those names especially? What's wrong with using the
standard library?
 
Y

yazwas

Why do you need those names especially? What's wrong with using the
standard library?

I would but I need a move_file function, or something similar
when moving function from the same directory to a subdirectory, I
don't want to copy/delete operation, instaed I need move function,
does anyone has any idea
 
Z

Zeppe

yazwas said:
I would but I need a move_file function, or something similar
when moving function from the same directory to a subdirectory, I
don't want to copy/delete operation, instaed I need move function,
does anyone has any idea
as someone else already told you, you should check www.boost.org

Regards,

Zeppe
 
R

Roland Pibinger

I would but I need a move_file function, or something similar
when moving function from the same directory to a subdirectory, I
don't want to copy/delete operation, instaed I need move function,
does anyone has any idea

The rename() function is Standard C. You need to implement a copy
function when the file cannot be moved by rename(), e.g. when it shall
be moved between different volumes. The easiest way is to write a
small wrapper function over an existing, OS-dependant function.
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top