473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

General File management Library

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

May 8 '07 #1
5 2662
yazwas <ya****@gmail.comwrites:
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,
Run, do not walk, to http://www.boost.org/ and check out the file
system library.

--
Dave Steffen, Ph.D. Disobey this command!
Software Engineer IV - Douglas Hofstadter
Numerica Corporation
dg@steffen a@t numerica d@ot us (remove @'s to email me)
May 8 '07 #2
On 8 May 2007 15:04:50 -0700 in comp.lang.c++, yazwas <ya****@gmail.com>
wrote,
>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?

May 9 '07 #3
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

May 9 '07 #4
yazwas wrote:
>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
as someone else already told you, you should check www.boost.org

Regards,

Zeppe
May 9 '07 #5
On 9 May 2007 01:49:06 -0700, yazwas <ya****@gmail.comwrote:
>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
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.
--
Roland Pibinger
"The best software is simple, elegant, and full of drama" - Grady Booch
May 9 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: syd | last post by:
In my project, I've got dozens of similar classes with hundreds of description variables in each. In my illustrative example below, I have a Library class that contains a list of Nation classes. ...
4
by: grs | last post by:
Can a class library have a app.config file. Reason for asking is that the microsoft application blocks all read from myApp.exe.config. How can you use the application blocks if you do not have an...
9
by: pankaj_wolfhunter | last post by:
Hi, I need some clearance on the following questions: 1) Does LOAD command updates indexes defined for a table? 2) Is REPLACE option in the LOAD command a logged operation? Help will be...
9
by: Ben Dewey | last post by:
Project: ---------------------------- I am creating a HTTPS File Transfer App using ASP.NET and C#. I am utilizing ActiveDirectory and windows security to manage the permissions. Why reinvent...
7
by: scorpion53061 | last post by:
I get the following error with the class below it when installing on a NT/98/Me machine. Any suggestions would be helpful. Kind of in a bind. Suspect the issue revolves ...
13
by: Robin Haswell | last post by:
Hey people I'm an experience PHP programmer who's been writing python for a couple of weeks now. I'm writing quite a large application which I've decided to break down in to lots of modules...
1
by: Anonieko | last post by:
Logging To a File In A S P . N E T 2 . 0 . I also want weekly rolling filename for the log file. Step 1. Create a class library ( 2 classes) ============================== AppWebEvent.cs...
5
by: cmay | last post by:
The only examples I have seen on how to check if a file is locked is to try to open it a catch an exception. MS has stated that you should never use error trapping in this manner. Is there no...
94
by: smnoff | last post by:
I have searched the internet for malloc and dynamic malloc; however, I still don't know or readily see what is general way to allocate memory to char * variable that I want to assign the substring...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.