codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  help me  BEN21 at 17:05 on Tuesday, July 26, 2005
 

Class, String Processing, File Handling, Exception Handling, Searching, Sorting
The two text files named File1 and File2 each hold a number of English sentences. A C++ program
is required to carry out the following operations:
a) Given a word, it lists how many times that word appears in File1 and File2.
b) List all the words that occur in both the File1 and File2.
c) List all the words that occur in File1 but not in File2.
d) List all the words from both the files that alphabetically come after the word "nice".
e) To print a list where the words appear in alphabetical order.
It is assumed that all the words are in lower case characters, spaces separate the words and each
sentence is terminated by a full stop.


can ytou help me with a sample code of the program

Ii have little knowledge on file handling


  Re: help me  vector at 17:40 on Monday, August 29, 2005
 

Hey we can't write whole code for you..u have to do your assignments yourself
if you have any specific problem regarding your code
you can ask for help








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Why Use Method?
•  Re: Help with filesystem object & displaying in a table
•  Re: Genetic Algorithm Help
•  Re: How to make an investment calculator
•  Re: line breaks in GUI
•  Re: Graph in Gui...
•  Graph in Gui...
•  Re: Counting zero values in a string
•  Re: Help!


Recent Articles
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net
Creating CSS Buttons


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005