Click here to Skip to main content
15,908,581 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVersion Information Pin
Daniel Kanev7-Mar-17 21:54
Daniel Kanev7-Mar-17 21:54 
AnswerRe: Version Information Pin
toxcct17-Jan-07 22:28
toxcct17-Jan-07 22:28 
QuestionUsing OLE automation to call another application Pin
Malcolm Chu17-Jan-07 21:42
Malcolm Chu17-Jan-07 21:42 
QuestionSequence number retrieval. Pin
chks17-Jan-07 20:45
chks17-Jan-07 20:45 
AnswerRe: Sequence number retrieval. Pin
jhwurmbach17-Jan-07 22:16
jhwurmbach17-Jan-07 22:16 
GeneralRe: Sequence number retrieval. Pin
chks17-Jan-07 22:32
chks17-Jan-07 22:32 
GeneralRe: Sequence number retrieval. Pin
jhwurmbach17-Jan-07 22:47
jhwurmbach17-Jan-07 22:47 
AnswerRe: Sequence number retrieval. Pin
David Crow18-Jan-07 3:21
David Crow18-Jan-07 3:21 
chks wrote:
1) A sequence of number, e.g 1120060002600000000790123904122006 (34 digits)
2) i need to view just certain slots of digit from 7th-12th as a record


char *pSequence = "1120060002600000000790123904122006";
char szRecord[7] = {'\0'};
strncpy(szRecord, &pSequence[6], 6);

chks wrote:
3) Then from 13th-26th as a values.


char szValue[15] = {'\0'};
strncpy(szValue, &pSequence[12], 14);



"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


GeneralRe: Sequence number retrieval. Pin
chks18-Jan-07 21:25
chks18-Jan-07 21:25 
GeneralRe: Sequence number retrieval. Pin
David Crow19-Jan-07 2:28
David Crow19-Jan-07 2:28 
QuestionConverting string to long Pin
vgandhi17-Jan-07 20:39
vgandhi17-Jan-07 20:39 
AnswerRe: Converting string to long Pin
Cedric Moonen17-Jan-07 20:44
Cedric Moonen17-Jan-07 20:44 
GeneralRe: Converting string to long Pin
vgandhi17-Jan-07 20:50
vgandhi17-Jan-07 20:50 
GeneralRe: Converting string to long Pin
Cedric Moonen17-Jan-07 21:01
Cedric Moonen17-Jan-07 21:01 
GeneralRe: Converting string to long Pin
Michael Dunn17-Jan-07 22:17
sitebuilderMichael Dunn17-Jan-07 22:17 
GeneralRe: Converting string to long Pin
vgandhi17-Jan-07 22:26
vgandhi17-Jan-07 22:26 
GeneralRe: Converting string to long Pin
Michael Dunn18-Jan-07 7:52
sitebuilderMichael Dunn18-Jan-07 7:52 
GeneralRe: Converting string to long Pin
David Crow18-Jan-07 3:23
David Crow18-Jan-07 3:23 
GeneralRe: Converting string to long Pin
vgandhi18-Jan-07 6:44
vgandhi18-Jan-07 6:44 
GeneralRe: Converting string to long Pin
David Crow18-Jan-07 7:08
David Crow18-Jan-07 7:08 
Questionon saving WAV file Pin
git crunk17-Jan-07 20:24
git crunk17-Jan-07 20:24 
AnswerRe: on saving WAV file Pin
Cedric Moonen17-Jan-07 20:33
Cedric Moonen17-Jan-07 20:33 
GeneralRe: on saving WAV file Pin
git crunk18-Jan-07 22:09
git crunk18-Jan-07 22:09 
GeneralRe: on saving WAV file Pin
Cedric Moonen19-Jan-07 0:58
Cedric Moonen19-Jan-07 0:58 
QuestionMy CreateFile is not working Pin
amitmistry_petlad 17-Jan-07 19:54
amitmistry_petlad 17-Jan-07 19:54 

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.