Jump to content
  • Advertisement
Sign in to follow this  
PGSCreativeDirector

how to constantly search specific characters and keep doing so in c++ for a text file

This topic is 2573 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[font="'Lucida Console"]
How do i constantly keep checking for specific characters in a text file till there are no more specific characters left.

this way i can keep displaying text file logos on my application until there are none left in the text file being searched by c++ :)


i did have a look around on the string class and f stream but i really don't know what it is i'm so posed to do to achieve the results i'm after.

thank you for taking the time to read this.[/font]

Share this post


Link to post
Share on other sites
Advertisement
I'm not sure what you're asking here. Can you be more specific? What does the file look like? What should the program be doing with the contents of the file?

Share this post


Link to post
Share on other sites
You won't know that there are no more matches to your pattern until you reach the end of the file.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!