Click here to Skip to main content
14,241,760 members

C / C++ / MFC

 
GeneralRe: String Search In C++ Pin
jeron14-Dec-18 7:49
memberjeron14-Dec-18 7:49 
AnswerRe: String Search In C++ Pin
Richard MacCutchan4-Dec-18 6:33
protectorRichard MacCutchan4-Dec-18 6:33 
GeneralRe: String Search In C++ Pin
Hack Baba4-Dec-18 6:45
memberHack Baba4-Dec-18 6:45 
GeneralRe: String Search In C++ Pin
Richard MacCutchan4-Dec-18 8:49
protectorRichard MacCutchan4-Dec-18 8:49 
AnswerRe: String Search In C++ Pin
Joe Woodbury4-Dec-18 9:04
professionalJoe Woodbury4-Dec-18 9:04 
GeneralRe: String Search In C++ Pin
Hack Baba4-Dec-18 23:58
memberHack Baba4-Dec-18 23:58 
GeneralRe: String Search In C++ Pin
Joe Woodbury5-Dec-18 6:21
professionalJoe Woodbury5-Dec-18 6:21 
SuggestionRe: String Search In C++ Pin
David Crow5-Dec-18 2:54
memberDavid Crow5-Dec-18 2:54 
Hack Baba wrote:
Plz also tell me how to search for the entered word in multiple files.
Take your code from the ifstream declaration down and move to a separate function. Create a loop that iterates each filename you wish to process, calling the aforementioned function with each filename.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


QuestionCComobox::DrawItem list box entries Disappears In Release Mode Pin
ForNow3-Dec-18 16:10
memberForNow3-Dec-18 16:10 
AnswerRe: CComobox::DrawItem list box entries Disappears In Release Mode Pin
leon de boer3-Dec-18 17:43
memberleon de boer3-Dec-18 17:43 
GeneralRe: CComobox::DrawItem list box entries Disappears In Release Mode Pin
ForNow4-Dec-18 1:44
memberForNow4-Dec-18 1:44 
GeneralRe: CComobox::DrawItem list box entries Disappears In Release Mode Pin
leon de boer4-Dec-18 7:41
memberleon de boer4-Dec-18 7:41 
GeneralRe: CComobox::DrawItem list box entries Disappears In Release Mode Pin
Victor Nijegorodov4-Dec-18 8:27
memberVictor Nijegorodov4-Dec-18 8:27 
AnswerRe: CComobox::DrawItem list box entries Disappears In Release Mode Pin
Victor Nijegorodov3-Dec-18 20:27
memberVictor Nijegorodov3-Dec-18 20:27 
GeneralRe: CComobox::DrawItem list box entries Disappears In Release Mode Pin
ForNow4-Dec-18 1:46
memberForNow4-Dec-18 1:46 
QuestionHow to resolve such exception? Pin
Member 140527782-Dec-18 18:49
memberMember 140527782-Dec-18 18:49 
AnswerRe: How to resolve such exception? Pin
CPallini2-Dec-18 20:41
mveCPallini2-Dec-18 20:41 
AnswerRe: How to resolve such exception? Pin
Richard MacCutchan2-Dec-18 23:45
protectorRichard MacCutchan2-Dec-18 23:45 
AnswerRe: How to resolve such exception? Pin
Victor Nijegorodov3-Dec-18 0:50
memberVictor Nijegorodov3-Dec-18 0:50 
QuestionSMS Access Pin
Bram van Kampen2-Dec-18 15:20
memberBram van Kampen2-Dec-18 15:20 
AnswerRe: SMS Access Pin
Richard MacCutchan2-Dec-18 23:47
protectorRichard MacCutchan2-Dec-18 23:47 
GeneralRe: SMS Access Pin
Bram van Kampen3-Dec-18 14:52
memberBram van Kampen3-Dec-18 14:52 
GeneralRe: SMS Access Pin
leon de boer3-Dec-18 15:46
memberleon de boer3-Dec-18 15:46 
GeneralRe: SMS Access Pin
Richard MacCutchan3-Dec-18 21:49
protectorRichard MacCutchan3-Dec-18 21:49 
QuestionUsing a selection Pin
_Flaviu2-Dec-18 2:56
member_Flaviu2-Dec-18 2:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.