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

C / C++ / MFC

 
GeneralRe: new to visual c++ Pin
ThatsAlok13-May-05 18:40
ThatsAlok13-May-05 18:40 
GeneralRe: new to visual c++ Pin
haes14-May-05 9:16
haes14-May-05 9:16 
GeneralRe: new to visual c++ Pin
ThatsAlok15-May-05 18:06
ThatsAlok15-May-05 18:06 
GeneralRe: new to visual c++ Pin
ThatsAlok15-May-05 18:14
ThatsAlok15-May-05 18:14 
GeneralCButton Sib-class Pin
Grahamfff13-May-05 9:11
Grahamfff13-May-05 9:11 
GeneralRe: CButton Sib-class Pin
PJ Arends13-May-05 9:29
professionalPJ Arends13-May-05 9:29 
GeneralRe: CButton Sib-class Pin
Anonymous14-May-05 8:29
Anonymous14-May-05 8:29 
GeneralHelp with ASCII conversion Pin
rexpiper13-May-05 9:07
rexpiper13-May-05 9:07 
I have a date time stamp which I have read from a file. I have read it as ascii characters and have stored it in a character array as follows:

The data is stored in the reverse order in the file where I read it i.e. [0] [1] [2] [3] [4] [5] [6] [7] has to be reordered as [7] [6] [5] [4] [2] [1] [0]. The bytes are put into a character array as a hexadecimal representation of a timestamp.

(actual example)

dt = "0x01c5556a92792c8c0"

Now in order to pass it to the localtime function I need to convert this ascii hex representation of my timestamp to an int64. I must be having a senior moment but I can't figure out how to do this (seemingly simple) operation.

Could someone more experienced please help me with this?

Thanks
GeneralRe: Help with ASCII conversion Pin
Kuniva13-May-05 12:01
Kuniva13-May-05 12:01 
QuestionWhat do i use to make a DOS app Pin
Anthony Mushrow13-May-05 7:40
professionalAnthony Mushrow13-May-05 7:40 
AnswerRe: What do i use to make a DOS app Pin
S. Senthil Kumar13-May-05 7:44
S. Senthil Kumar13-May-05 7:44 
AnswerRe: What do i use to make a DOS app Pin
David Crow13-May-05 7:54
David Crow13-May-05 7:54 
AnswerRe: What do i use to make a DOS app Pin
Chris Losinger13-May-05 10:04
professionalChris Losinger13-May-05 10:04 
GeneralRe: What do i use to make a DOS app Pin
S. Senthil Kumar13-May-05 21:21
S. Senthil Kumar13-May-05 21:21 
General@Printer Driver.... Pin
Anonymous13-May-05 7:26
Anonymous13-May-05 7:26 
GeneralCListCtrl CustomDraw/OnCtlColor Quandary Pin
GregH13-May-05 6:02
GregH13-May-05 6:02 
GeneralFile Open By Pin
shiftwik13-May-05 5:10
shiftwik13-May-05 5:10 
General.net book Pin
_tasleem13-May-05 4:33
_tasleem13-May-05 4:33 
GeneralRe: .net book Pin
David Crow13-May-05 5:36
David Crow13-May-05 5:36 
GeneralRe: .net book Pin
Kevin McFarlane13-May-05 12:09
Kevin McFarlane13-May-05 12:09 
GeneralDebugging IE Addon from VS.NET Pin
haries13-May-05 3:51
haries13-May-05 3:51 
GeneralRe: Debugging IE Addon from VS.NET Pin
jmkhael13-May-05 4:26
jmkhael13-May-05 4:26 
GeneralRe: Debugging IE Addon from VS.NET Pin
Michael Dunn13-May-05 12:18
sitebuilderMichael Dunn13-May-05 12:18 
GeneralUsing Hooks Pin
ashtwin13-May-05 3:40
ashtwin13-May-05 3:40 
GeneralRe: Using Hooks Pin
David Crow13-May-05 5:35
David Crow13-May-05 5:35 

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.