Click here to Skip to main content
16,005,389 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRendering MSI package through customized UI Pin
LiYS20-Mar-07 22:03
LiYS20-Mar-07 22:03 
QuestionAbout an error Pin
iayd20-Mar-07 21:53
iayd20-Mar-07 21:53 
AnswerRe: About an error Pin
Paresh Chitte20-Mar-07 22:02
Paresh Chitte20-Mar-07 22:02 
GeneralRe: About an error Pin
iayd20-Mar-07 22:45
iayd20-Mar-07 22:45 
AnswerRe: About an error Pin
prasad_som20-Mar-07 22:55
prasad_som20-Mar-07 22:55 
QuestionLinearSearch to BinarySearch Pin
stealwings20-Mar-07 21:41
stealwings20-Mar-07 21:41 
AnswerRe: LinearSearch to BinarySearch Pin
led mike21-Mar-07 4:41
led mike21-Mar-07 4:41 
GeneralRe: LinearSearch to BinarySearch Pin
stealwings21-Mar-07 7:42
stealwings21-Mar-07 7:42 
Yes I know that BinarySearch is for sorted arrays,my array is sorted but is in a file. I have I sort array of phrases which I named as standard, it contains 400 phrases sorted in alphabetical order. Then I have another file that contains lets say 1000 sentences, I want to cut this sentences into words, then do the comparison.
e.g. in the sentences I there is the word "excellent" , I want to take that word, and look if there is any phrase in my array that begins with that word, if true take the next word, if false discard the word and take next one.
Lets say I have in my array "excellent job" and "excellent work" so I will have to check the next word to make sure which is the match. And if the word that follows "excellent" is not neither discard, if is any of both return true.
Now, I know that I should chop the sentences into words, compare and concatenate the words that match to form my phrase and then return a value. Then, how shall I chop the sentences into words and then concatenate them again to form a phrase?

GeneralRe: LinearSearch to BinarySearch Pin
led mike21-Mar-07 10:18
led mike21-Mar-07 10:18 
QuestionConvert jpeg image into mpeg-1 Pin
yudhisthira20-Mar-07 21:13
yudhisthira20-Mar-07 21:13 
AnswerRe: Convert jpeg image into mpeg-1 Pin
Mark Salsbery21-Mar-07 7:32
Mark Salsbery21-Mar-07 7:32 
QuestionProblem with SendMessage. Pin
uday kiran janaswamy20-Mar-07 21:02
uday kiran janaswamy20-Mar-07 21:02 
AnswerRe: Problem with SendMessage. Pin
Cedric Moonen20-Mar-07 21:05
Cedric Moonen20-Mar-07 21:05 
GeneralRe: Problem with SendMessage. Pin
uday kiran janaswamy20-Mar-07 21:14
uday kiran janaswamy20-Mar-07 21:14 
GeneralRe: Problem with SendMessage. Pin
Cedric Moonen20-Mar-07 21:32
Cedric Moonen20-Mar-07 21:32 
GeneralRe: Problem with SendMessage. Pin
ThatsAlok20-Mar-07 22:31
ThatsAlok20-Mar-07 22:31 
GeneralRe: Problem with SendMessage. Pin
David Crow21-Mar-07 3:48
David Crow21-Mar-07 3:48 
GeneralRe: Problem with SendMessage. Pin
uday kiran janaswamy21-Mar-07 3:53
uday kiran janaswamy21-Mar-07 3:53 
Questioncalculating combobox height Pin
lee2320-Mar-07 20:56
lee2320-Mar-07 20:56 
QuestionDisplaying Advertisement in Windows Application. Pin
Sameerkumar Namdeo20-Mar-07 20:40
Sameerkumar Namdeo20-Mar-07 20:40 
QuestionHow to control the frame rate in DirectShow? Pin
houari_id20-Mar-07 20:23
houari_id20-Mar-07 20:23 
AnswerRe: How to get frame rate in DirectShow? Pin
siddharthsan20-Mar-07 22:06
siddharthsan20-Mar-07 22:06 
GeneralRe: How to get frame rate in DirectShow? Pin
houari_id21-Mar-07 1:20
houari_id21-Mar-07 1:20 
AnswerRe: How to control the frame rate in DirectShow? Pin
Mark Salsbery21-Mar-07 7:38
Mark Salsbery21-Mar-07 7:38 
QuestionQuestion about C++ and C# ... Pin
Yanshof20-Mar-07 20:22
Yanshof20-Mar-07 20:22 

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.