![]() |
| ||
| C++ Assignment NEED HELP URGENTLY Guys hello, i`m a new member here http://images.devshed.com/fda/smilies/smile.gif Hello to everybody...I need urgently help... I have an assignment for C++. "We have a collection of emails. This collection has emails from Linguist.org, these mails are legal. these are in a file called ling_filenames.txt. We also have a collection of spam emails in spam_filenames.txt. We have also a file called keywords.txt which has the key words to deside if an email is spam or ling. One word each line. Write a C++ program which checks the email collections and prints: <messagecollection messages ="n"> <message file=" " category="spam" features="m"> <feature id="i1" freq="fi1"> k1 </feature> <feature id="i2" freq="fi2"> k2 </feature> ... <feature id="im" freq="fim"> km </feature> </message> ... <message file=" " category="legit| features="r"> <feature id="j1" freq="fj1"> q1 </feature> <feature id="j2" freq="fj2"> q2 </feature> ... <feature id="jr" freq="fjr"> qr </feature> </message> ... </messagecollection> This is my code until now....PLEASE HELP ME!!!!! #include <iostream> |
| ||
| Re: C++ Assignment NEED HELP URGENTLY >>PLEASE HELP ME!!!!! help you do what? does your program compile ? (hint: no it does not). what errors does your compiler produce? if(txt.find(a)!=txt.end()) { Above is incomplete statement. |
| ||
| Re: C++ Assignment NEED HELP URGENTLY i did try compiling it and it gave me error messages |
| ||
| Re: C++ Assignment NEED HELP URGENTLY What are some of the errors -- you'll have to post them because I can't see your computer's monitor from my chair. |
| All times are GMT -4. The time now is 5:19 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC