-
Address program
Heres what I want. And I am not sure how to do it.
I want to make it so when the program starts you can input a letter such as "s"
when u input "s" a list of 10 names comes up for instance:
1.sa
2.sb
3.sc
4.sd
5.se
6.sf
7.sg
8.sh
9.si
10.sj
You then input the number u want and it outputs that persons
email
phone number
and anything else I want to put in.
Any ideas as to how i should do this?
-
have you read anything on fstreams?
-
No, but im a fast learner!.........kind of.
only thing i know about fstream is the header #include <fstream.h>
thats it!
-
here is a very good tutorial on file i/o which is very handy for address books
http://www.cpp-home.com/loobian/tuto...e_io/index.php