[Courses] How to get line-information from buffer..

Abel Pires da Silva lybel_2000 at yahoo.com
Mon Sep 30 22:42:45 EST 2002


You need to do something like:

for each line in *buffer {
  for each line in *file {
    if ((strstr(buffer,file)) != NULL ) {
      Do stuff for line match
    }
  }
}

Thank you Conor for pointing the problem...
But I think with some example of the above, will make
it clear...

Regards,
Abel

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com



More information about the Courses mailing list