Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSecurely distributing .pdb files Pin
dogby9-Jan-06 14:02
dogby9-Jan-06 14:02 
AnswerRe: Securely distributing .pdb files Pin
kakan9-Jan-06 19:17
professionalkakan9-Jan-06 19:17 
AnswerRe: Securely distributing .pdb files Pin
Blake Miller10-Jan-06 6:51
Blake Miller10-Jan-06 6:51 
AnswerRe: Securely distributing .pdb files Pin
Stephen Hewitt12-Jan-06 19:25
Stephen Hewitt12-Jan-06 19:25 
QuestionSearch in RTF / RTF 2 TXT Pin
Maciej Lisiewski9-Jan-06 13:08
Maciej Lisiewski9-Jan-06 13:08 
AnswerRe: Search in RTF / RTF 2 TXT Pin
KellyR9-Jan-06 17:58
KellyR9-Jan-06 17:58 
GeneralRe: Search in RTF / RTF 2 TXT Pin
Maciej Lisiewski9-Jan-06 22:14
Maciej Lisiewski9-Jan-06 22:14 
GeneralRe: Search in RTF / RTF 2 TXT Pin
KellyR10-Jan-06 3:57
KellyR10-Jan-06 3:57 
Being RTF doesn't prevent a character by character search though, my point was that by writing your own char by char search you can ignore the things you want to ignore.

For instance anytime you see a \, ignore the following letters until you see a space or a return. Anytime you see a change to another language, ignore all following characters until you see a change back to English, or whatever language you're looking for.

Of course this is assuming the strings you're searching for don't contain \ in them. But if they don't, you should be able to do something along those lines. And even if they do, worst case scenario you could write up a list of all the formatting tags to ignore (horrible but it would work), and every time you see a \, begin to compare to that list, if you get a match, ignore that word, if not, tack it onto the current string you're looking through for comparison.

Kelly Ryan

GeneralRe: Search in RTF / RTF 2 TXT Pin
Maciej Lisiewski10-Jan-06 4:36
Maciej Lisiewski10-Jan-06 4:36 
Questiona wrapper for winsock? Pin
Mithra40969-Jan-06 12:14
Mithra40969-Jan-06 12:14 
AnswerRe: a wrapper for winsock? Pin
Blake Miller9-Jan-06 13:39
Blake Miller9-Jan-06 13:39 
GeneralRe: a wrapper for winsock? Pin
Mithra40969-Jan-06 16:11
Mithra40969-Jan-06 16:11 
QuestionStack overflow in IE6.0 with SP1? Pin
thelearnervc9-Jan-06 11:43
thelearnervc9-Jan-06 11:43 
AnswerRe: Stack overflow in IE6.0 with SP1? Pin
Prakash Nadar9-Jan-06 18:52
Prakash Nadar9-Jan-06 18:52 
Questiondividing image into blocks Pin
Mareo_4219-Jan-06 10:24
Mareo_4219-Jan-06 10:24 
AnswerRe: dividing image into blocks Pin
Christian Graus9-Jan-06 11:57
protectorChristian Graus9-Jan-06 11:57 
GeneralRe: dividing image into blocks Pin
Mareo_4219-Jan-06 12:50
Mareo_4219-Jan-06 12:50 
GeneralRe: dividing image into blocks Pin
Christian Graus9-Jan-06 12:55
protectorChristian Graus9-Jan-06 12:55 
AnswerRe: dividing image into blocks Pin
__yb10-Jan-06 19:41
__yb10-Jan-06 19:41 
Questionprogram wont enter main()-function until character input is given Pin
maladuk9-Jan-06 10:22
maladuk9-Jan-06 10:22 
QuestionRe: program wont enter main()-function until character input is given Pin
David Crow9-Jan-06 10:30
David Crow9-Jan-06 10:30 
AnswerRe: program wont enter main()-function until character input is given Pin
maladuk10-Jan-06 10:21
maladuk10-Jan-06 10:21 
Questionmalloc causing program crash Pin
KellyR9-Jan-06 9:47
KellyR9-Jan-06 9:47 
AnswerRe: malloc causing program crash Pin
David Crow9-Jan-06 10:07
David Crow9-Jan-06 10:07 
AnswerRe: malloc causing program crash Pin
PJ Arends9-Jan-06 10:09
professionalPJ Arends9-Jan-06 10:09 

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.