Need a little help

Joined
Nov 20, 2010
Messages
1
Reaction score
0
I need some advice
(I'm new to c++ so bear with me =^_^=)

I'm trying to write a program. In the program, the user is prompted to enter a filename

In the file, there are a bunch of names, phone number and addresses in the following format:

First name Last name Phone number
Address
First name Last name Phone number
Address
etc

After the user enters the filename, they have to enter the first name and the last name.

I've gotten to this point without a problem, but I have no idea how to use the find function (or if you even can. I keep getting error messages when I compile) to find the location of the name in the file.

Any tips or advice?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top