Thursday, July 30, 2009

How do I check data from a file in c++ using dev?

I am writing a program in c++ and I would like to compare the data(words ) which are in a file to the data within an array. I would like to ask I could do it. please help me I am learning C++ and all my reseach didn't give me a satisfying result. thanks

How do I check data from a file in c++ using dev?
Consider using a stl::map or equivalent. You read in a word from the file and then check to see if the map has the word.





Also, consider joining a YahooGroup that specializes in C/C++ programming. Answers is not a good place to learn to program and you'll get the benefits of being part of a community with shared interests and goals.


No comments:

Post a Comment