Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Structures in VC Pin
Jose Lamas Rios22-Aug-05 20:18
Jose Lamas Rios22-Aug-05 20:18 
GeneralRe: Structures in VC Pin
nadia!22-Aug-05 20:31
sussnadia!22-Aug-05 20:31 
GeneralRe: Structures in VC Pin
nadia!22-Aug-05 20:33
sussnadia!22-Aug-05 20:33 
GeneralRe: Structures in VC Pin
toxcct22-Aug-05 20:43
toxcct22-Aug-05 20:43 
GeneralRe: Structures in VC Pin
nadia!22-Aug-05 21:00
sussnadia!22-Aug-05 21:00 
GeneralRe: Structures in VC Pin
toxcct22-Aug-05 21:05
toxcct22-Aug-05 21:05 
GeneralRe: Structures in VC Pin
nadia!22-Aug-05 21:39
sussnadia!22-Aug-05 21:39 
GeneralRe: Structures in VC Pin
Cedric Moonen22-Aug-05 21:52
Cedric Moonen22-Aug-05 21:52 
If you could post your structure, this would help a little bit more. You have to understand that we cannot see what's on your screen so we have to guess what you want to do with the little clues you gave us.

Ok, in which 'format' you want to store this two characters ? Is it an integer or a string ?

If it is a string, you can simply do that:

struct.MyString[0] = Buffer[Index];<br />
struct.MyString[1] = Buffer[Index+1];


If it is an integer, you could do that:
char Temp[3];<br />
Temp[0] = Buffer[Index];<br />
Temp[1] = Buffer[Index+1];<br />
Temp[2] = '\0';<br />
struct.MyInt = atoi(Temp);


If it doesn't help, try to be more specific and POST CODE !!
GeneralRe: Structures in VC Pin
MailtoGops22-Aug-05 22:13
MailtoGops22-Aug-05 22:13 
GeneralRe: Structures in VC Pin
toxcct22-Aug-05 22:27
toxcct22-Aug-05 22:27 
GeneralRe: Structures in VC Pin
MailtoGops22-Aug-05 22:42
MailtoGops22-Aug-05 22:42 
Generalhelp... can anyone... Pin
moodsey21122-Aug-05 19:54
moodsey21122-Aug-05 19:54 
GeneralRe: help... can anyone... Pin
Jose Lamas Rios22-Aug-05 20:26
Jose Lamas Rios22-Aug-05 20:26 
GeneralRe: help... can anyone... Pin
moodsey21122-Aug-05 21:15
moodsey21122-Aug-05 21:15 
GeneralRe: help... can anyone... Pin
MailtoGops22-Aug-05 22:18
MailtoGops22-Aug-05 22:18 
GeneralRe: help... can anyone... Pin
moodsey211123-Aug-05 3:05
sussmoodsey211123-Aug-05 3:05 
GeneralFileAccess using scattergather Pin
Ritesh S.22-Aug-05 19:46
Ritesh S.22-Aug-05 19:46 
GeneralRe: FileAccess using scattergather Pin
cmk23-Aug-05 9:37
cmk23-Aug-05 9:37 
QuestionWM_InitMenuPopup handler in dialog? Pin
sayup22-Aug-05 19:45
sayup22-Aug-05 19:45 
Questionhow to set selected node of treeview through code Pin
/*Trucker*\22-Aug-05 19:05
/*Trucker*\22-Aug-05 19:05 
AnswerRe: how to set selected node of treeview through code Pin
Christian Graus22-Aug-05 19:27
protectorChristian Graus22-Aug-05 19:27 
GeneralRe: how to set selected node of treeview through code Pin
/*Trucker*\23-Aug-05 6:17
/*Trucker*\23-Aug-05 6:17 
AnswerRe: how to set selected node of treeview through code Pin
Jose Lamas Rios22-Aug-05 20:34
Jose Lamas Rios22-Aug-05 20:34 
Generalneed help in CListCtrl Pin
firebolt7722-Aug-05 18:17
firebolt7722-Aug-05 18:17 
GeneralRe: need help in CListCtrl Pin
Christian Graus22-Aug-05 18:24
protectorChristian Graus22-Aug-05 18:24 

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.