text search
-
can you please elaborate your requirement?
You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_
-
-
i want to implement text search..it can be of all document or from current page only..up or down the document..like find dialog in standard applications.
ali kanju wrote:
i want to implement text search..it can be of all document or from current page only..up or down the document..like find dialog in standard applications.
You still didn't provide any useful information. You are talking about pages and document, what are you talking about exactly ? How is your data stored ? Is this a big string, a list of strings, ... ? You also have to separate the problem in two distinct jobs: your program should first search for the matches (without showing that to the user), and then the information has to be displayed to the user. Both aspects really depends on which datatype you are working with, how you display the information to the user, ... So, if you want some useful help, you will need to provide a lot more of useful information.
Cédric Moonen Software developer
Charting control [v2.0] OpenGL game tutorial in C++ -
You could start here - Regular Expressions in C++ with Boost.Regex[^]
«_Superman_» I love work. It gives me something to do between weekends.
-
There's a surplus of vagueness here. Unfortunately, all I can offer is the shotgun approach. See
strstr()
,strchr()
,CString::Find()
, andstring::find()
."Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons