Improve company productivity with a Business Account.Sign Up

x
?
Solved

file access function library

Posted on 1998-11-02
5
Medium Priority
?
178 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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
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…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

595 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