Click here to Skip to main content
15,925,868 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: c++ question. Please help Pin
BlackDice9-May-05 6:07
BlackDice9-May-05 6:07 
but if you declare it within the class definition, you just have to intialize it outside of the class definition in the same header file. as long as the class is included, you should be able to reference it as CMyClass::m_nCounter anywhere the header file is included.

My articles

www.stillwaterexpress.com

BlackDice
GeneralRe: c++ question. Please help Pin
David Crow9-May-05 2:53
David Crow9-May-05 2:53 
GeneralRe: c++ question. Please help Pin
namaskaaram9-May-05 2:55
namaskaaram9-May-05 2:55 
GeneralRe: c++ question. Please help Pin
Ansari A. Halim9-May-05 3:51
Ansari A. Halim9-May-05 3:51 
GeneralRe: c++ question. Please help Pin
Alex_Y9-May-05 4:08
Alex_Y9-May-05 4:08 
GeneralRe: c++ question. Please help Pin
David Crow9-May-05 5:01
David Crow9-May-05 5:01 
GeneralRe: c++ question. Please help Pin
Alex_Y9-May-05 6:58
Alex_Y9-May-05 6:58 
GeneralRe: c++ question. Please help Pin
Bob Stanneveld10-May-05 0:25
Bob Stanneveld10-May-05 0:25 
GeneralDirectShow - Buffer Pushing Techniques Pin
javatheist9-May-05 2:21
javatheist9-May-05 2:21 
GeneralGetting active control in a property page Pin
laiju9-May-05 1:41
laiju9-May-05 1:41 
GeneralRe: Getting active control in a property page Pin
David Crow9-May-05 2:07
David Crow9-May-05 2:07 
GeneralRe: Getting active control in a property page Pin
laiju9-May-05 2:26
laiju9-May-05 2:26 
GeneralRe: Getting active control in a property page Pin
Alex_Y9-May-05 4:00
Alex_Y9-May-05 4:00 
GeneralRe: Getting active control in a property page Pin
laiju9-May-05 16:52
laiju9-May-05 16:52 
GeneralRe: Getting active control in a property page Pin
Alex_Y10-May-05 5:45
Alex_Y10-May-05 5:45 
QuestionHow to create a vertical CEdit Pin
Eugene Pustovoyt9-May-05 0:27
Eugene Pustovoyt9-May-05 0:27 
AnswerRe: How to create a vertical CEdit Pin
toxcct9-May-05 0:57
toxcct9-May-05 0:57 
GeneralRe: How to create a vertical CEdit Pin
Eugene Pustovoyt9-May-05 4:37
Eugene Pustovoyt9-May-05 4:37 
AnswerRe: How to create a vertical CEdit Pin
Ravi Bhavnani9-May-05 6:28
professionalRavi Bhavnani9-May-05 6:28 
GeneralRe: How to create a vertical CEdit Pin
Eugene Pustovoyt9-May-05 20:28
Eugene Pustovoyt9-May-05 20:28 
GeneralRe: How to create a vertical CEdit Pin
Ravi Bhavnani10-May-05 1:57
professionalRavi Bhavnani10-May-05 1:57 
GeneralRe: How to create a vertical CEdit Pin
Eugene Pustovoyt10-May-05 9:10
Eugene Pustovoyt10-May-05 9:10 
GeneralSending Ctrl Alt Del Pin
Richard Hudson8-May-05 23:45
Richard Hudson8-May-05 23:45 
GeneralRe: Sending Ctrl Alt Del Pin
ThatsAlok8-May-05 23:59
ThatsAlok8-May-05 23:59 
GeneralRe: Sending Ctrl Alt Del Pin
jmkhael9-May-05 0:02
jmkhael9-May-05 0:02 

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.