Current Forum: Homework 3 Forum |
Date: Fri Sep 28 2001 11:44 am |
Author: Danish, Matt R. <mrd@cmu.edu> |
Subject: Re: search function |
|
|
Well, if you stop thinking in line-based mode for a moment you'll remember that a text buffer can be thought of as one giant array and each character has an index number. So it's far more likely that a better search (I'm not saying MS Word is a better search) would keep track of character index, or so it seems. |
|