project 4 spec

project 4 spec - CS32 Winter 2012 Project #4 Ad Hunter Due:...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
CS32 Winter 2012 Project #4 Ad Hunter Due: 9 PM Thursday, March 15 Make sure to read the entire document (especially Requirements and Other Thoughts) before starting your project. For questions about this project, contact Carey Nachenberg: climberkip@gmail.com
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Table of Contents Introduction . ........................................................................................................................ 3 Details of the Rules File . ................................................................................................. 7 But I don’t know how to use C++ to access the Internet!. .............................................. 8 The Tokenizer Class. ........................................................................................................... 9 Ok, so what is it I have to do? . .......................................................................................... 10 The MyHashMap Class. ................................................................................................ 10 The ExtractLinks Class . ................................................................................................ 13 The Document Class . .................................................................................................... 16 The Crawler Class . ........................................................................................................ 18 The Rule Class. .............................................................................................................. 22 The Matcher Class. ........................................................................................................ 25 The AdHunter Class . ..................................................................................................... 28 Your main() Function. ................................................................................................... 29 How do Command Line Parameters/Arguments work?. ................................................... 31 Requirements and Other Thoughts. ................................................................................... 34 What to Turn In . ................................................................................................................ 36 Grading. ............................................................................................................................. 37
Background image of page 2
3 Introduction For your fourth and final project, you’ve been hired by WeSellSleazyAds.com, the world’s seventeenth largest online advertising firm. As with other advertising firms, WeSellSleazyAds.com makes its money by embedding advertisements on third-party web pages like blogs and Facebook pages. Due to the recent economic downturn, WSSA lost millions of dollars in advertising revenue and had to lay off their entire staff except for two people, Carey and David. In the past, WSSA used a stable of employees to manually decide which ads were appropriate for which web pages. However, with just two employees left, WSSA can no longer afford to have humans figure out which ads to
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/06/2012 for the course CS 32 taught by Professor Davidsmallberg during the Winter '08 term at UCLA.

Page1 / 37

project 4 spec - CS32 Winter 2012 Project #4 Ad Hunter Due:...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online