471,047 Members | 1,234 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,047 software developers and data experts.

Search TXT file

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 3307
9,065 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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.