Solved

file access function library

Posted on 1998-11-02
5
173 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 30 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

726 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