Click here to Skip to main content
15,886,806 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionterminating worker threads Pin
baw24-Feb-06 6:51
baw24-Feb-06 6:51 
AnswerRe: terminating worker threads Pin
David Crow24-Feb-06 7:06
David Crow24-Feb-06 7:06 
GeneralRe: terminating worker threads Pin
baw25-Feb-06 4:20
baw25-Feb-06 4:20 
GeneralRe: terminating worker threads Pin
David Crow25-Feb-06 15:22
David Crow25-Feb-06 15:22 
QuestionEnum structure variables!! Pin
Hamed Musavi24-Feb-06 4:46
Hamed Musavi24-Feb-06 4:46 
AnswerRe: Enum structure variables!! Pin
toxcct24-Feb-06 4:58
toxcct24-Feb-06 4:58 
GeneralRe: Enum structure variables!! Pin
Hamed Musavi24-Feb-06 5:05
Hamed Musavi24-Feb-06 5:05 
GeneralRe: Enum structure variables!! Pin
toxcct24-Feb-06 5:12
toxcct24-Feb-06 5:12 
Hamed Mosavi wrote:
Is it clear or I failed again?


not sure to understand yet, but i'll give it a try again Big Grin | :-D

do you mean that "how to access to the members of a struct variable when you have a pointer on it" ?
if yes, you have 2 way :
as when you use the variable directly (no pointer), you use the . operator, you can do the same there :
struct T& var;
(*var).a = 5;
(*var).b = 12;

the other way is to use the -> operator :
struct T& var;
var->a = 5;
var->b = 12;


now, if i'm still wrong, tell me again Big Grin | :-D



TOXCCT >>> GEII power
[toxcct][VisualCalc 2.24][3.0 soon...]
GeneralRe: Enum structure variables!! Pin
Maximilien24-Feb-06 5:19
Maximilien24-Feb-06 5:19 
GeneralRe: Enum structure variables!! Pin
Hamed Musavi24-Feb-06 5:25
Hamed Musavi24-Feb-06 5:25 
GeneralRe: Enum structure variables!! Pin
toxcct24-Feb-06 5:31
toxcct24-Feb-06 5:31 
GeneralRe: Enum structure variables!! Pin
Hamed Musavi24-Feb-06 5:35
Hamed Musavi24-Feb-06 5:35 
AnswerRe: Enum structure variables!! Pin
Maximilien24-Feb-06 5:15
Maximilien24-Feb-06 5:15 
AnswerRe: Enum structure variables!! Pin
ThatsAlok26-Feb-06 21:13
ThatsAlok26-Feb-06 21:13 
GeneralRe: Enum structure variables!! Pin
Hamed Musavi27-Feb-06 21:19
Hamed Musavi27-Feb-06 21:19 
QuestionCListCtrl Pin
Hamid_RT24-Feb-06 2:58
Hamid_RT24-Feb-06 2:58 
AnswerRe: CListCtrl Pin
David Crow24-Feb-06 3:03
David Crow24-Feb-06 3:03 
GeneralRe: CListCtrl Pin
Hamid_RT24-Feb-06 3:09
Hamid_RT24-Feb-06 3:09 
AnswerRe: CListCtrl Pin
James R. Twine24-Feb-06 3:09
James R. Twine24-Feb-06 3:09 
QuestionIOCP - when a socket is closed ? Pin
yani dzhurov24-Feb-06 2:41
yani dzhurov24-Feb-06 2:41 
AnswerRe: IOCP - when a socket is closed ? Pin
James R. Twine24-Feb-06 3:02
James R. Twine24-Feb-06 3:02 
GeneralRe: IOCP - when a socket is closed ? Pin
yani dzhurov24-Feb-06 3:39
yani dzhurov24-Feb-06 3:39 
GeneralRe: IOCP - when a socket is closed ? Pin
James R. Twine24-Feb-06 4:47
James R. Twine24-Feb-06 4:47 
GeneralRe: IOCP - when a socket is closed ? Pin
George Nistor1-Aug-09 22:11
George Nistor1-Aug-09 22:11 
QuestionResizing windows Pin
Waldermort24-Feb-06 2:30
Waldermort24-Feb-06 2:30 

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.