468,513 Members | 984 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,513 developers. It's quick & easy.

Search TXT file

1
hi all , i wrote a simple code that will open a text file generated from MS Excel, so in general this file contains words that i want to search , if i want to look for a specific word lets say "happy" and if found return "ok word found"

how can i do this....please help me with code or documents to read because i dont really know C++


so in general i want to open a txt file and search it for the word "happy" and return okay if found and no if not found

thanks alot
Aug 21 '06 #1
1 3257
Banfa
9,056 Expert Mod 8TB
Get a copy of grep for your system (which is already on a unix system or use Find or FindStr on Windows
Aug 26 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Eric | last post: by
4 posts views Thread by Dameon | last post: by
8 posts views Thread by stunna | last post: by
1 post views Thread by nganglove | last post: by
3 posts views Thread by =?Utf-8?B?UGVycmlud29sZg==?= | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.