Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionstructure questions Pin
Dennis L8-Aug-08 4:43
Dennis L8-Aug-08 4:43 
QuestionRe: structure questions Pin
Matthew Faithfull8-Aug-08 4:50
Matthew Faithfull8-Aug-08 4:50 
AnswerRe: structure questions Pin
Dennis L8-Aug-08 5:03
Dennis L8-Aug-08 5:03 
GeneralRe: structure questions Pin
Perspx8-Aug-08 5:09
Perspx8-Aug-08 5:09 
GeneralRe: structure questions Pin
Matthew Faithfull8-Aug-08 5:11
Matthew Faithfull8-Aug-08 5:11 
GeneralRe: structure questions Pin
Dennis L8-Aug-08 5:21
Dennis L8-Aug-08 5:21 
AnswerRe: structure questions Pin
Matthew Faithfull8-Aug-08 5:30
Matthew Faithfull8-Aug-08 5:30 
GeneralRe: structure questions Pin
Dennis L8-Aug-08 5:39
Dennis L8-Aug-08 5:39 
Sorry! If KEY is a private member?

Or what if i do it like

class MYCLASS
{
...
...
public:
void Get(KEY *k);
...
};

// in cpp
void MYCLASS::Get(Key *k)
{
// Do operation:

}

int main()
{
MYCLASS g;
KEY k; // key is empty

g.Get(&k);

//key is filled

// Do operations with k
return 0;
}
AnswerRe: structure questions Pin
Matthew Faithfull8-Aug-08 5:54
Matthew Faithfull8-Aug-08 5:54 
GeneralRe: structure questions Pin
Dennis L8-Aug-08 5:25
Dennis L8-Aug-08 5:25 
AnswerRe: structure questions Pin
Matthew Faithfull8-Aug-08 5:36
Matthew Faithfull8-Aug-08 5:36 
GeneralRe: structure questions Pin
Dennis L8-Aug-08 5:55
Dennis L8-Aug-08 5:55 
GeneralRe: structure questions Pin
Matthew Faithfull8-Aug-08 6:02
Matthew Faithfull8-Aug-08 6:02 
AnswerRe: structure questions Pin
Perspx8-Aug-08 5:37
Perspx8-Aug-08 5:37 
QuestionRe: structure questions Pin
Perspx8-Aug-08 4:53
Perspx8-Aug-08 4:53 
AnswerRe: structure questions Pin
roel_8-Aug-08 6:03
roel_8-Aug-08 6:03 
QuestionMake mfc aplication installer Pin
yoel good8-Aug-08 2:42
yoel good8-Aug-08 2:42 
AnswerRe: Make mfc aplication installer Pin
toxcct8-Aug-08 2:51
toxcct8-Aug-08 2:51 
GeneralRe: Make mfc opengl aplication installer Pin
yoel good9-Aug-08 18:19
yoel good9-Aug-08 18:19 
AnswerRe: Make mfc aplication installer Pin
Perspx8-Aug-08 3:02
Perspx8-Aug-08 3:02 
AnswerRe: Make mfc aplication installer Pin
vikas amin8-Aug-08 9:58
vikas amin8-Aug-08 9:58 
QuestionImpersonateLoggedOnUser() on Vista 64? Pin
sandeepkavade8-Aug-08 2:39
sandeepkavade8-Aug-08 2:39 
QuestionDrive Name Pin
Davitor8-Aug-08 2:18
Davitor8-Aug-08 2:18 
AnswerRe: Drive Name Pin
Perspx8-Aug-08 2:27
Perspx8-Aug-08 2:27 
GeneralRe: Drive Name Pin
Davitor8-Aug-08 2:48
Davitor8-Aug-08 2:48 

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.