Search:
Type: Posts; User: rudyloo
Search:
Search took 0.05 seconds.
-
April 30th, 2015, 12:41 PM
Hi
I have a bunch of defines with values from 1-100.
I want to provide some sort of function that takes in a range and returns a list or map (like a python dictionary) of items that fall under...
-
April 28th, 2014, 10:26 PM
Actually I have it encrypting and decrypting almost fine now. The only issue left is that on decryption new lines arent added and therefore I get 1 extra long line.
So, I need to find out how...
-
April 28th, 2014, 08:50 PM
Hi, thanks for all your help.
I have it reading line by line and then XORing char by char given the mangle string.
I can output the encrypted file fine. However re-encrypting (decrypting) the...
-
April 25th, 2014, 04:55 PM
From what I understand ASCII is a subset to Unicode. I would ned to handle anything in the ASCII table. So I assume this means spaces, and numbers.
-
April 25th, 2014, 04:31 PM
I want to read 5 characters in at a time, and then XOR it with a password of 5 characters long. And then output the mangled block of 5 characters to file or screen.
So, I would want to retain all...
-
April 25th, 2014, 04:17 PM
This works.
I need to do manipulation with the chucks of strings. Isnt it best to use chars to do this? I need to mangle the block using bit operation.
-
April 25th, 2014, 01:14 PM
-
April 25th, 2014, 12:50 PM
Hi
The last example works great - but only for 1 line.
I'm sorry if my example data was misleading.
I could have something like:
1234567
Hello This Is
-
April 25th, 2014, 12:13 PM
Hi,
With the following method, for "1234567"
I would only see 12345
67 isn't shown.
Thanks
-
April 25th, 2014, 11:49 AM
Hi Guys
Quick question.
What do you think the best way is to break up pipped data coming into a C++ programming from command line into x number of bytes (eg. 5 bytes at a time) for...
-
October 10th, 2013, 04:08 PM
Thanks all.
I found this link helpful as well.
http://forums.codeguru.com/showthread.php?345294-SYSTEMTIME-difference
-
October 9th, 2013, 04:17 PM
Hi
The logs contains data where milliseconds is needed.
Example:
Sep 29 02:13:04.150 example line 1 testing 1234 bla bla
Sep 29 02:13:05.855 example line 2 testing 1234 bla...
-
October 9th, 2013, 03:27 PM
Hi
I have a file where each line contains the following timestamp format:
MMM DD HH:MM:SS.MMM
I want to read this in and normalize the time and pass it along in seconds.
I am using the...
-
March 2nd, 2010, 09:53 AM
-
March 2nd, 2010, 09:31 AM
i could have a "(" before the "(date..."
I guess, i could just check the return on sscanf_s.
thanks for your help.
-
March 2nd, 2010, 09:12 AM
the time could be anywhere in the string, therefore I cant really extract a sub string first.
sscanf_s( *inputString, "(%*s %d/%d %d:%d:%d.%d)", &month, &day, &hour, &min, &sec, &ms );
I also...
-
March 2nd, 2010, 08:30 AM
Sorry, this post should be in "C++ (Non Visual C++ Issues)"
-
March 2nd, 2010, 08:25 AM
Hi,
I have a function where one of the input is CString *inputString
I want to extract the date/time from this string.
Sample string:
[ 55 ][ RUN ] (02/09 00:00:10.435) [ Fixed ]Ver1.32
-
November 23rd, 2009, 03:20 PM
dummy was for all the stuff before "time:"
i ended up cropping the line.
timeStampString = timeStampString.Right(timeStampString.GetLength()-timeStampString.Find("time: "));
sscanf(...
-
November 23rd, 2009, 02:20 PM
however, I noticed a weird issue.
dayName and monthName are set to what dummy is. There is nothing about those 2 variables in that sscanf line!
"logID:0x324 "
dayName and monthName are...
-
November 23rd, 2009, 02:05 PM
this worked:
char szDay[3];
char szMonth[3];
sscanf( timeStampString, "%s time: %3s %3s %d %d:%d:%d %d", dummy, szDay, szMonth, &day, &hour, &min, &sec, &year);
dayName = szDay;
-
November 23rd, 2009, 12:08 PM
Hi
I am trying to extract date and time from a string, but having some issues.
Example String:
logID:0x324 time: Sat Nov 21 16:09:00 2009 Line:1
-
November 12th, 2009, 05:36 PM
Hi everyone...
got a basic question for you guys.
I am reading in a couple of thousand ints where the max value can be FFFFFFFF
get the difference between each pair and dividing by some...
-
January 14th, 2009, 08:58 AM
Lindley:
For now I am copying int (Eg. 28548). I need to copy both methods eventually. I think its working
CNiewerth:
Thanks for that... i will try that out too, just to learn etc..
...
-
January 13th, 2009, 07:41 PM
Hi
I basically have a char pointer to points to something like
"71 0B 84 6F 00 00 70 0B 80 00 10 00 10 00 70 0B"
I want to be able to copy these into an array. The goal actually is to copy...
|
Click Here to Expand Forum to Full Width
|