CF programming

Hi all,
Can any one tell how to implement search command for data search from compact flash card?

Parents
  • Search of files, or search of contents in files?

    Search of files - check out what functions there are for retrieving all entries in a directory. Implement a stack for found directories and iterate through all entries. Exactly what code are you using to access the file system?

    Search in files - completely depending on what to search for. But you have to read in the data in suitable chunks. Then it will be similar to searching for something in memory.

    Any reason why you thought your post needed to be written in bold?

Reply
  • Search of files, or search of contents in files?

    Search of files - check out what functions there are for retrieving all entries in a directory. Implement a stack for found directories and iterate through all entries. Exactly what code are you using to access the file system?

    Search in files - completely depending on what to search for. But you have to read in the data in suitable chunks. Then it will be similar to searching for something in memory.

    Any reason why you thought your post needed to be written in bold?

Children
More questions in this forum