Hi,
I'm a beginner, so please forgive my inadequate knowledge.
I'm am trying to write a program that searches one file for specific words and their replacements found in another file. As of yet, all I have is a program that opens my files and counts the words in them. I think I need to put the words in a string array in order to search through them, but I don't know how to do this. If someone could help get me started on this part, I can play around with the rest of the program and hopefully have some luck.
Thanks
sarahger9
0
Newbie Poster
Recommended Answers
Jump to Postshow us the code you have written so far. Do you know how to use vector class? That is the easiest array to use. You can make a vector of string objects
std::vector<std::string> theArray;
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
sarahger9
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.