Click here to Skip to main content
15,881,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Visual studio is not responding when trying to add file Pin
mbue27-Feb-06 21:32
mbue27-Feb-06 21:32 
GeneralRe: Visual studio is not responding when trying to add file Pin
BiswaR27-Feb-06 22:21
BiswaR27-Feb-06 22:21 
Questionhow to forbid printing by local printer or network printer? Pin
szcococut27-Feb-06 19:53
szcococut27-Feb-06 19:53 
Questionhelp with CArray object Pin
SWDevil27-Feb-06 19:36
SWDevil27-Feb-06 19:36 
AnswerRe: help with CArray object Pin
The-Lion-King27-Feb-06 19:48
The-Lion-King27-Feb-06 19:48 
GeneralRe: help with CArray object Pin
SWDevil27-Feb-06 19:53
SWDevil27-Feb-06 19:53 
QuestionRe: help with CArray object Pin
David Crow28-Feb-06 3:02
David Crow28-Feb-06 3:02 
Questioninitialization of member variables Pin
Kranti125198427-Feb-06 18:28
Kranti125198427-Feb-06 18:28 
hi,

i've 2 classes .......

class1
{
public:
CString str1;
get();
put();
}

class2
{
public:
CString str2;
class2(CString str)
{
str2 = str;
}
}

when i'm calling constructor of class2 in put function of class1 str2 gets set ... but when i access str2 in a function of class2, it is blank .... can't we use a constructor to set values of members in this way?

Thanks,
Kranti

AnswerRe: initialization of member variables Pin
khan++27-Feb-06 19:21
khan++27-Feb-06 19:21 
AnswerRe: initialization of member variables Pin
Vinaya27-Feb-06 19:24
Vinaya27-Feb-06 19:24 
GeneralRe: initialization of member variables Pin
Kranti125198427-Feb-06 19:32
Kranti125198427-Feb-06 19:32 
GeneralRe: initialization of member variables Pin
Vinaya27-Feb-06 19:40
Vinaya27-Feb-06 19:40 
GeneralRe: initialization of member variables Pin
sunit527-Feb-06 19:53
sunit527-Feb-06 19:53 
GeneralRe: initialization of member variables Pin
Salad Bar27-Feb-06 19:43
Salad Bar27-Feb-06 19:43 
GeneralRe: initialization of member variables Pin
Kranti125198427-Feb-06 19:46
Kranti125198427-Feb-06 19:46 
QuestionThe Destructor can't cleanup the memory? Pin
signbit27-Feb-06 18:17
signbit27-Feb-06 18:17 
AnswerRe: The Destructor can't cleanup the memory? Pin
Nibu babu thomas27-Feb-06 18:33
Nibu babu thomas27-Feb-06 18:33 
GeneralRe: The Destructor can't cleanup the memory? Pin
signbit27-Feb-06 18:36
signbit27-Feb-06 18:36 
GeneralRe: The Destructor can't cleanup the memory? Pin
Nibu babu thomas27-Feb-06 18:47
Nibu babu thomas27-Feb-06 18:47 
GeneralRe: The Destructor can't cleanup the memory? Pin
signbit27-Feb-06 18:51
signbit27-Feb-06 18:51 
GeneralRe: The Destructor can't cleanup the memory? Pin
Nick_Kisialiou27-Feb-06 19:27
Nick_Kisialiou27-Feb-06 19:27 
GeneralRe: The Destructor can't cleanup the memory? Pin
Johann Gerell27-Feb-06 20:28
Johann Gerell27-Feb-06 20:28 
GeneralRe: The Destructor can't cleanup the memory? Pin
Stephen Hewitt27-Feb-06 21:30
Stephen Hewitt27-Feb-06 21:30 
GeneralRe: The Destructor can't cleanup the memory? Pin
signbit27-Feb-06 22:09
signbit27-Feb-06 22:09 
GeneralRe: The Destructor can't cleanup the memory? Pin
Stephen Hewitt27-Feb-06 23:23
Stephen Hewitt27-Feb-06 23:23 

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.