Find Jobs
Hire Freelancers

index of words in a text document

$25-30 USD

Tamamlandı
İlan edilme: neredeyse 21 yıl önce

$25-30 USD

Teslimde ödenir
Write a program to generate an index of words in a text document. The index consists of each word in the text and, for each word, the line number of each line that the word occurs in. Assumptions 1. The text will fit in computer memory. 2. The line numbers in the text start with 1. 3. Each word in the text consists of letters only ??" some or all may be in upper case. 4. Each word in the text is followed by zero or more punctuation symbols followed by any number of blanks, and end of line markers. Output The program should provide the following facilities. Display the index on the screen Save the index to a file Allow the user to delete a specified word from the index Find and display a specified word (and its associated line numbers) Words should be printed in alphabetical order and in lower case letters. Every word should be followed by the line numbers of the lines in which it occurs. The line numbers should be separated by commas. Implementation In this assignment you must use binary search tree (or AVL tree) to store the words in computer memory. The line numbers for each word should be stored in a queue. (I.e., the elements stored in the tree will contain a word plus a queue of line numbers.) Design your program in object oriented style as much as possible. The preferred coding style in both C++ and Java is to begin all identifiers with a lower case letter, with the exception of class names and user defined type names. When an identifier consists of multiple words, the first letter is in lower case but each successive word begins with an upper case letter (e.g., totalNum). Class names begin with an upper case letter. The function names begin with a lower case letter. Symbolic constants should be in upper case letters with multiple words separated by underscores (MAX_NUM). Each member function (method) should be documented with a comment stating the purpose of the function, its pre-conditions and post-conditions, ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done and psudo code. 2) must be ready by 6 of May 2003 3) must use either Borland C++ v5.02 or Microsoft VisualC++v 6.0 4)follow all requiremnt and specifications as per published and attached ## Platform windows 2000
Proje No: 2930942

Proje hakkında

2 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 21 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
See private message.
$8,40 USD 14 gün içinde
4,2 (111 değerlendirme)
4,4
4,4
2 freelancers are bidding on average $17 USD for this job
Kullanıcı Avatarı
See private message.
$25,50 USD 14 gün içinde
5,0 (29 değerlendirme)
4,7
4,7

Müşteri hakkında

   AUSTRALIA bayrağı
Australia
4,9
12
Kas 24, 2002 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.