![]() |
| ||
| search word in file Hi, I want to ask if there function in library of c++ to search word in file ?? thank you |
| ||
| Re: search word in file Not that I know of. You have to read some (all) of the file, then search using any of several possible methods. If you expand on your problem definition, and show the work you've done to solve it, you will get better help here. Please read the forum rules. Val |
| ||
| Re: search word in file >I want to ask if there function in library of c++ to search word in file ?? No. You need to break it down into smaller operations like reading a file and searching a string for a word. Then you can do this: std::ifstream in ( "myfile" );Or this: std::ifstream in ( "myfile" );For example. |
| ||
| Re: search word in file thank you |
| All times are GMT -4. The time now is 11:12 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC