Click here to Skip to main content
15,917,473 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can't find XML file Error Pin
Pete O'Hanlon15-Jan-08 3:47
mvePete O'Hanlon15-Jan-08 3:47 
GeneralRe: Can't find XML file Error Pin
Luc Pattyn15-Jan-08 3:56
sitebuilderLuc Pattyn15-Jan-08 3:56 
GeneralRe: Can't find XML file Error Pin
Pete O'Hanlon15-Jan-08 4:28
mvePete O'Hanlon15-Jan-08 4:28 
GeneralRe: Can't find XML file Error Pin
benjymous15-Jan-08 1:36
benjymous15-Jan-08 1:36 
General.Net Remoting Pin
El'Cachubrey15-Jan-08 0:51
El'Cachubrey15-Jan-08 0:51 
GeneralRe: .Net Remoting Pin
led mike15-Jan-08 4:42
led mike15-Jan-08 4:42 
GeneralSending (and then handling) messages to a server Pin
Completenutter215-Jan-08 0:00
Completenutter215-Jan-08 0:00 
GeneralZooming in chart... Pin
amoldix14-Jan-08 23:34
amoldix14-Jan-08 23:34 
GeneralRe: Zooming in chart... Pin
S. Senthil Kumar15-Jan-08 7:42
S. Senthil Kumar15-Jan-08 7:42 
Questionchange video border color when using WMP in C# Pin
codefreaklcs14-Jan-08 23:30
codefreaklcs14-Jan-08 23:30 
QuestionCount bitpattern occurences in textstrings Pin
invictus314-Jan-08 21:40
invictus314-Jan-08 21:40 
GeneralRe: Count bitpattern occurences in textstrings Pin
J4amieC14-Jan-08 22:33
J4amieC14-Jan-08 22:33 
GeneralRe: Count bitpattern occurences in textstrings Pin
invictus314-Jan-08 23:00
invictus314-Jan-08 23:00 
AnswerRe: Count bitpattern occurences in textstrings Pin
Ajay.k_Singh14-Jan-08 23:11
Ajay.k_Singh14-Jan-08 23:11 
GeneralRe: Count bitpattern occurences in textstrings Pin
invictus314-Jan-08 23:29
invictus314-Jan-08 23:29 
GeneralRe: Count bitpattern occurences in textstrings Pin
Russell Jones15-Jan-08 0:02
Russell Jones15-Jan-08 0:02 
i guess the crude way would be:

convert your pattern from byte [] to bool []
store the sequence you're searching for as bool[]

loop through the sequence until you match the first value then check the second value of the sequence etc. This isn't going to be quick but it'll work OK for short strings

Russ
GeneralRe: Count bitpattern occurences in textstrings Pin
invictus315-Jan-08 0:05
invictus315-Jan-08 0:05 
GeneralRe: Count bitpattern occurences in textstrings Pin
Russell Jones15-Jan-08 0:45
Russell Jones15-Jan-08 0:45 
GeneralRe: Count bitpattern occurences in textstrings [modified] Pin
Luc Pattyn15-Jan-08 0:56
sitebuilderLuc Pattyn15-Jan-08 0:56 
GeneralRe: Count bitpattern occurences in textstrings Pin
invictus315-Jan-08 23:20
invictus315-Jan-08 23:20 
GeneralRe: Count bitpattern occurences in textstrings Pin
Luc Pattyn16-Jan-08 8:56
sitebuilderLuc Pattyn16-Jan-08 8:56 
GeneralRe: Count bitpattern occurences in textstrings Pin
invictus319-Jan-08 8:41
invictus319-Jan-08 8:41 
GeneralRe: Count bitpattern occurences in textstrings Pin
Luc Pattyn19-Jan-08 9:13
sitebuilderLuc Pattyn19-Jan-08 9:13 
GeneralRe: Count bitpattern occurences in textstrings Pin
invictus319-Jan-08 11:16
invictus319-Jan-08 11:16 
GeneralRe: Count bitpattern occurences in textstrings Pin
Luc Pattyn19-Jan-08 11:36
sitebuilderLuc Pattyn19-Jan-08 11:36 

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.