hi i have this project and i need help with it, maybe someone can help me. please?
im really new and really confused.
"You're working for a company that's building an email list from files of mail messages. They would like you to write a program that reads a file called mail.dat, and that outputs every string containing the @ sign to file addresses.dat. For the purpose of this project, a string is defined as it is by the C++ stream reader-a contiguous sequence of non-whitespace characters.
Given the data:
From: sharon@marzipan.edu
Date: Wed, 13 Aug 2003 17:12:33 EDT
Subject: Re: hi
To: john@meringue.com
John,
Dave's email is dave_smith@icing.org
ttyl,
sharon
Then the program would output on file addresses.dat:
Use meaningful variable names, proper indentation, and appropriate comments. Thoroughly test the program using your own data sets.
and this is what i have so far..and it's not working. im not really good with c++ so if someone can tell me what i am doing wrong it'll be great. thanks