How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
component for changing partition
By delphiheaven on Jul 12
Max Bid: Open to fair suggestions


WebQuiz
By DigitalBuyer on Jul 12
Max Bid: Open to fair suggestions


Simple 1-Page Website Redesign
By BuffaloRoam on Jul 11
Max Bid: Open to fair suggestions


web server Script to launch external program
By gulyasa on Jul 11
Max Bid: $20


New Site Design to Appeal to the Masses!
By sistervisiontec h on Jul 11
Max Bid: $100


JDBC/mySQL performance problem
By demosfen on Jul 11
Max Bid: Open to fair suggestions


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(145 open)
   Access 
(56 open)
   MySQL 
(79 open)
   Oracle 
(10 open)
   SQL Server 
(48 open)
   Other DB 
(19 open)
Documentation / Tech Writing 
(15 open)
Data Entry 
(21 open)
Game Development 
(26 open)
Graphics / Art / Music 
(54 open)
   Graphics 
(60 open)
     Adobe AfterEffects 
(1 open)
     Adobe Photoshop 
(19 open)
     Adobe Premiere 
(4 open)
     3d Animation 
(15 open)
   Art (Misc.) 
(20 open)
   Music 
(11 open)
   3d Modeling 
(12 open)
Language Specific 
(92 open)
   ASP 
(59 open)
   ASP .NET 
(38 open)
   C# 
(38 open)
   C++ / C 
(108 open)
   Carbon (Mac OS) 
(1 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(13 open)
   Delphi 
(26 open)
   Java 
(61 open)
   JSP 
(7 open)
   Perl 
(42 open)
   PHP 
(86 open)
   XML/XSL 
(30 open)
   Visual Basic 
(144 open)
   Visual Basic .Net 
(58 open)
   Other 
(52 open)
Misc 
(27 open)
   CAD 
(3 open)
MultiMedia 
(41 open)
   Video Editing 
(6 open)
Network 
(41 open)
   Network Design 
(12 open)
   Network Implementation 
(12 open)
Platforms 
(73 open)
   Windows 
(171 open)
     MS Exchange 
(5 open)
     MS Office 
(14 open)
     Other 
(14 open)
   Darwin 
(1 open)
   Internet Browser 
(43 open)
   Linux 
(56 open)
   UNIX 
(26 open)
   Hand Held/PDA Programming 
(9 open)
Requirements 
(13 open)
Security 
(30 open)
Testing / Quality Assurance 
(18 open)
Web 
(149 open)
   Page Design 
(81 open)
   Flash 
(45 open)
   Web Services 
(71 open)
   Web (Other) 
(69 open)
Training 
(10 open)
   Computer Based 
(10 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Word Frequency Counter in C++
Bid Request Id: 29415
Bookmark in my 'To Do' list
Posted by: UNCstud413 (2 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 0.00%
Buyer Security Verifications: Good
Approved on: Oct 1, 2002
7:31:21 AM EDT
Bidding Closes: Oct 6, 2002
7:36:45 AM EDT
Viewed (by coders): 240 times
Deadline: 10/7/2002
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C
Enter chat room for this bid request
(0 active users at Jul 12, 2003 8:35:38 AM EDT)

Description:
Deliverables:
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. Make sure it will work on a UNIX machine!

3) Complete ownership and distribution copyrights to all work purchased.



Deliverables:
Program Description

You are to write a program that takes a text file as a command-line parameter and keeps a list of all of the words in the file, the number of times each word occurs, the number of unique words, and the total number of words in the file. This information is printed to the screen before the program exits.

This assignment is a good exercise in top-down design. Consider the problem to be solved as a whole, then try to identify the subproblems that, when put together, solve the whole problem. There are two major subproblems to deal with in this project: how to tell what's a word and what's not, and how to efficiently keep track of what words have been seen and how many times. Since you are writing this program "from scratch," how you solve these problems is up to you. However, I will make the following suggestions:

The first problem can be dealt with very elegantly by building a finite state machine recognizer, which we will be discussing in lab. The FSM is a very important concept in computer science, with many applications. I'll tell you how to create a function that scans a line of text and returns only those substrings matching certain patterns.
The best solution to the second problem is to use a hash table with a good string hashing function to store the words seen so far and their counts. Create a HashTable object whose data members include the words seen so far and how many times they've been seen, and whose methods include functions for adding a word (or incrementing its count if it's already in the table) and printing the list of words and their counts.
Requirements
Your program must only count words (not numbers or punctuation). For the purpose of this project, we will define words as:
Strings of one or more alphabetic characters (letters),
One or more alphabetic characters followed by a single apostrophe followed by one or more alphabetic characters (to cover contractions like "don't" or "I'll"),
One or more alphabetic characters followed by a single period followed by one or more alphabetic characters followed by a single period (to cover abbreviations like "i.e." and "e.g.").
The program should ignore any other symbols. As mentioned above, this task is best accomplished by using a finite state machine to scan the input and return the words it finds.
Before it exits, the program must print the following information:

A list of every unique word in the file and the number of times the word occurs,
The number of unique words in the file,
The total number of words in the file.

Keep your function prototypes and/or class definitions in .h files and place your code in .cc files, as in Project #1. You should give each data structure you create its own set of .h and .cc files. So if you create a HashTable object, its code should be in HashTable.h and HashTable.cc. If you use a linked list, its code should be in List.h and List.cc (or something). You should also keep the code for the main program in its own file, perhaps main.cc. Use a Makefile to compile all the source files into an executable called wordcount.



Platform:
must be done in C++ and UNIX

Must be 100% finished and received by buyer on:
Oct 7, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Special Conditions / Other:
must be complete and in my hands by the date due. and follow every instruction in the decription.


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
rozarus
(48 ratings)
in Renganathapuram,Tiruchirappalli, TamilNadu.
India
Bid id: 329,642
 
$10 (USD) Oct 1, 2002
1:18:56 PM EDT
 8.2
(Very Good)
   
Dear buyer,
This project very much suits my area of interest(compiler design).

I have implemented 8 finite state machines for compiler projects.

I can finish this to ur full satisfaction.

Please check out my ratings.

Hope u would accept my bid.

Regards,
rozarus.
 
 
 
 
  See 8 private reply(ies)
to/from rozarus.
 




Quick Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Anuj Gakhar
Rated a 9.97 on 102 jobs 
Securenext
Rated a 9.96 on 109 jobs 
Buddies
Rated a 9.82 on 80 jobs 
Andrei Remenchuk
Rated a 10 on 13 jobs 
Codman
Rated a 9.97 on 149 jobs 
Michael Sharp
Rated a 9.97 on 181 jobs 
D-N-S
Rated a 9.93 on 37 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
Tometa Software, Inc.
Rated a 10 on 10 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.