Click here to Skip to main content
15,887,355 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reg setting a wait cursor Pin
V K 228-May-08 18:46
V K 228-May-08 18:46 
GeneralRe: Reg setting a wait cursor Pin
SandipG 28-May-08 18:52
SandipG 28-May-08 18:52 
GeneralRe: Reg setting a wait cursor Pin
V K 228-May-08 19:10
V K 228-May-08 19:10 
GeneralRe: Reg setting a wait cursor Pin
SandipG 28-May-08 19:25
SandipG 28-May-08 19:25 
QuestionRe: Reg setting a wait cursor Pin
Rajesh R Subramanian28-May-08 19:21
professionalRajesh R Subramanian28-May-08 19:21 
AnswerRe: Reg setting a wait cursor Pin
V K 228-May-08 22:40
V K 228-May-08 22:40 
GeneralRe: Reg setting a wait cursor Pin
Rajesh R Subramanian28-May-08 23:01
professionalRajesh R Subramanian28-May-08 23:01 
QuestionStatic variable Pin
CodingLover28-May-08 17:55
CodingLover28-May-08 17:55 
Hi all,

I want to use a static variable in a method. So I do it as follows.

// temp.h
class temp{
private:
  static int count;
};

// temp.cpp
#include temp.h;
int temp::count = 10;

// rest of the processing


Is that ok, at the time it's working fine. I just want to know the way I tried is ok or not. Smile | :)

I appreciate your help all the time...
CodingLover Smile | :)

AnswerRe: Static variable Pin
Paresh Chitte28-May-08 19:07
Paresh Chitte28-May-08 19:07 
GeneralRe: Static variable Pin
CodingLover28-May-08 20:52
CodingLover28-May-08 20:52 
QuestionOpenGL for Visual C++ 2008 Pin
Ranger4928-May-08 16:53
Ranger4928-May-08 16:53 
AnswerRe: OpenGL for Visual C++ 2008 Pin
Rajkumar R29-May-08 2:32
Rajkumar R29-May-08 2:32 
GeneralRe: OpenGL for Visual C++ 2008 Pin
Ranger4929-May-08 6:05
Ranger4929-May-08 6:05 
GeneralRe: OpenGL for Visual C++ 2008 Pin
Rajkumar R29-May-08 19:40
Rajkumar R29-May-08 19:40 
QuestionWhere is ClassWizard in VC2005? Pin
includeh1028-May-08 14:56
includeh1028-May-08 14:56 
AnswerRe: Where is ClassWizard in VC2005? Pin
David Crow28-May-08 16:25
David Crow28-May-08 16:25 
QuestionHow to make two modules use same DLL? Pin
Alan Balkany28-May-08 8:05
Alan Balkany28-May-08 8:05 
AnswerRe: How to make two modules use same DLL? Pin
led mike28-May-08 9:02
led mike28-May-08 9:02 
GeneralRe: How to make two modules use same DLL? Pin
Alan Balkany28-May-08 9:04
Alan Balkany28-May-08 9:04 
GeneralRe: How to make two modules use same DLL? Pin
Alan Balkany28-May-08 9:10
Alan Balkany28-May-08 9:10 
QuestionCustome File Extensions with C++ Pin
Diagathon28-May-08 7:31
Diagathon28-May-08 7:31 
AnswerRe: Custome File Extensions with C++ Pin
Cedric Moonen28-May-08 7:48
Cedric Moonen28-May-08 7:48 
QuestionRe: Custome File Extensions with C++ Pin
David Crow28-May-08 8:31
David Crow28-May-08 8:31 
AnswerRe: Custome File Extensions with C++ Pin
Diagathon28-May-08 12:14
Diagathon28-May-08 12:14 
GeneralRe: Custome File Extensions with C++ Pin
Nelek28-May-08 20:38
protectorNelek28-May-08 20:38 

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.