Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 3 Forum
Date: Thu Sep 27 2001 12:06 pm
Author: Yuen, John <jyuen@andrew.cmu.edu>
Subject: Re: search function

good points, jason. as the assignment explains, search is inclusive. if a word appears on line 30, and search is called with a mark of 30, it should return 30. if the word apeads multiple times on that line, search should just retunr that line number anyways. you are looking for the line number of next next occurance of the word starting from the first word of the line number specified by mark. hope this clears things up
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
search function      Durham, Patrick K.      Wed Sep 26 2001 2:22 pm       
Re: search function      White, David      Wed Sep 26 2001 3:31 pm       
Re: search function      Chen, Richard      Thu Sep 27 2001 12:15 am       
Re: search function      Cipriani, Jason A.      Thu Sep 27 2001 11:24 am       
Re: search function      White, David      Thu Sep 27 2001 11:49 am       
Re: search function      White, David      Thu Sep 27 2001 11:52 am       
Re: search function      Danish, Matt R.      Fri Sep 28 2001 11:44 am       
Re: search function      Cipriani, Jason A.      Fri Sep 28 2001 5:32 pm       
Re: search function      Yuen, John      Thu Sep 27 2001 12:06 pm       

Back to previous screen