 | MEMBER LOGIN |
|
|
 |
|
 | SERVICES & FEATURES |
|
|
 |
|
 | THE 20 LATEST PROJECTS |
|
|
Project: Index/HTML Book Program
ID: 1228338764 |  |  |  |
 |
| |
|
Status: |
Closed (Cancelled)
|
|
Budget: |
$10-100
|
|
Created: |
12/3/2008 at 16:12 EST
|
|
Cancelled: |
12/14/2008 at 0:33 EST
|
|
Project Creator: |
|
|
Description: |
I need a simple C++ program completed in a couple of days. This is a very simple program and can be done pretty fast if you are skilled in C++.
What I need is a program that takes simple ASCII text files as input and to output these files as HTML files along with an index of the words. Please go to http://www.gutenberg.org/files/20735/20735.txt for an example of the text file being implemented. I have attached an Example.html file to show you what it looks like.
To begin, the program should be run like: executableName.exe textFile.txtThe textFile.txt is the only command line parameter. The program should read in this file and output the file in HTML. First, you will need to extract the title from the text file. The title always begins with "Title:" and ends at the end of the line. This part should be easy.
There is a file I am given that gives me two constants. The first constant is used to determine the length of each page of the book. This constant is named MAX_LINES_PER_PAGE. The second constant determines the percentage that a single word must appear for it to be part of the index HTML file. This constant is named PAGE_THRESHOLD.
I will need you to split the inputted ASCII text file into pages based off MAX_LINES_PER_PAGE. Each page contains the title in tags. All pages but the first and last contain links to previous, next, first, and index pages. The first page does not have the previous link and the last page does not have the next link. The output should be EXACTLY has the input looks just split up into pages. The pages should be output like PageNNNN.html where NNNN is a 4 digit number starting at 0001.
The last part is the index page. This page should consist of all the words that appear more than PAGE_THRESHOLD percentage. The page should output the words in alhpabetical order along with the pages that the words appear on. The index term consists of alphabetic characters and must either occur at the beginning of a line or must be preceded by a blank. Words of 3 or less letters should not be in the index. The index terms must be converted into lower case before being insterted into the index. Please let me know if you need any examples. Additional Info (Added 12/4/2008 at 13:42 EST)...Sorry, words that appear MORE than PAGE_THRESHOLD should not be added to the index.
|
|
Job Type: |
C/C++
|
| |
 |
|
Messages Posted: 22 |
|
Programmers |
Bid  |
Delivery Time |
Time of Bid |
Rating |
|
vinaympatel |
$30 |
4 days |
12/5/2008 at 4:34 EST | (No Feedback Yet) |
|
| | |
|
netiquette |
$35 |
2 days |
12/4/2008 at 16:08 EST | (No Feedback Yet) |
| Please see PMB for details.
| | |
|
jurrrrr |
$35 |
5 days |
12/4/2008 at 14:48 EST | (No Feedback Yet) |
| If you give me a few examples I will be able to make you a nice small C prog.
| | |
|
aleksandr85 |
$70 |
3 days |
12/4/2008 at 9:33 EST | (No Feedback Yet) |
| Hi! Please, review details in PMB. Regards, Aleksandr.
| | |
|
we4flance |
$75 |
2 days |
12/3/2008 at 18:01 EST | (No Feedback Yet) |
| need few more i/p samples for testing.
| | |
|
alun |
$75 |
3 days |
12/5/2008 at 14:24 EST |  (2 reviews) |
| See PMB
| | |
|
sinbi555 |
$100 |
2 days |
12/3/2008 at 16:23 EST |  (1 review) |
| Hi
I am skilled in C++. I understood your requirements and I am sure I can do this.
Thanks
| | |
|
diy286 |
$100 |
2 days |
12/3/2008 at 19:09 EST |  (14 reviews) |
| Dear sir, I can do it for you, Could you see PMB for more details? Thanks. Best Regards.
| | |
|
manojp7 |
$100 |
5 days |
12/4/2008 at 11:12 EST | (No Feedback Yet) |
| Hi,
Plesae assign me this work.
Regards
Manoj
| | |
| |