posted in C#, Coders corner on Mar 2nd, 2012
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 using System; using System.Text.RegularExpressions; public class Example { public static void Main() { string pattern = @"(\d{3})-(\d{3}-\d{4})"; string input = "212-555-6666 906-932-1111 415-222-3333 425-888-9999"; MatchCollection matches = Regex.Matches(input, pattern); foreach (Match match in [...]
read full post »
posted in C, Coders corner, Tools & sources on Feb 24th, 2012
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 #include <windows.h> #include <stdio.h> void main(int argc, char **argv) { FILE [...]
read full post »
posted in C, Coders corner on Mar 9th, 2011
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [...]
read full post »
posted in C, Coders corner on Mar 1st, 2011
1 void processTCP(PTCPHDR pTCPHdr, int pTotLen)
read full post »
posted in C, Coders corner on Feb 15th, 2011
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [...]
read full post »