?
Solved

file access function library

Posted on 1998-11-02
5
Medium Priority
?
175 Views
Last Modified: 2010-04-02
I am looking for a library of fuctions that does basic
I/O functions (read, write, add, delete) on a textfile,
containing a key and a data value on each line. I am working
on a large project and I figured that this part was probably written many times already, so I was wondering if you could point me to a site where I could download such code.

Thanks,
   coko
0
Comment
Question by:coko
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 1176814
I don't think you will find such a thing.    Few commercial applications would ever use such a thing, so there isn't likely to be libraries that support it.  

Windows does provide a similar function GetProfileString(), you might want to look at that.
0
 
LVL 8

Accepted Solution

by:
Answers2000 earned 90 total points
ID: 1176815
http://web.ukonline.co.uk/Members/julian.smart/
CExpr class in the "Code Cupboard"
0
 
LVL 22

Expert Comment

by:nietod
ID: 1176816
Well, what the !@#$% do I know...
0
 

Author Comment

by:coko
ID: 1176817
Ooops, I forgot to mention that I am working on a Unix platform
not windows/MFC. Is there an equivalent of the CExpr class that
will run on Unix ?
0
 
LVL 8

Expert Comment

by:Answers2000
ID: 1176818
Oops not that I'm aware of, I guess you could port....but that might (?) be more work that creating your own...
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

762 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