Click here to Skip to main content
15,889,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: where is the mistake. Pin
toxcct19-Dec-05 21:35
toxcct19-Dec-05 21:35 
AnswerRe: where is the mistake. Pin
Eytukan19-Dec-05 21:59
Eytukan19-Dec-05 21:59 
QuestionRe: where is the mistake. Pin
toxcct19-Dec-05 22:05
toxcct19-Dec-05 22:05 
AnswerRe: where is the mistake. Pin
Eytukan19-Dec-05 22:19
Eytukan19-Dec-05 22:19 
AnswerRe: where is the mistake. Pin
Eytukan19-Dec-05 22:21
Eytukan19-Dec-05 22:21 
AnswerRe: where is the mistake. Pin
Blake Miller20-Dec-05 4:37
Blake Miller20-Dec-05 4:37 
Questionstatic data member. Pin
paper6719-Dec-05 7:56
paper6719-Dec-05 7:56 
AnswerRe: static data member. Pin
PJ Arends19-Dec-05 11:38
professionalPJ Arends19-Dec-05 11:38 
You have to do it in the cpp file
//Header file
class foo
{
   static int x;
   int doFoo();
};

// cpp file
int foo::x = 12;

int foo::doFoo()
{
    ...
}




"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
GeneralRe: static data member. Pin
vikas amin19-Dec-05 19:02
vikas amin19-Dec-05 19:02 
GeneralRe: static data member. Pin
Eytukan19-Dec-05 21:27
Eytukan19-Dec-05 21:27 
QuestionGraphics in dialog window Pin
josephmanu19-Dec-05 7:20
josephmanu19-Dec-05 7:20 
AnswerRe: Graphics in dialog window Pin
Chris Losinger19-Dec-05 7:37
professionalChris Losinger19-Dec-05 7:37 
GeneralRe: Graphics in dialog window Pin
josephmanu19-Dec-05 11:24
josephmanu19-Dec-05 11:24 
Questioni need an example Pin
markshte19-Dec-05 5:33
markshte19-Dec-05 5:33 
QuestionTape Drive help required Pin
Touseef Afzal19-Dec-05 2:09
Touseef Afzal19-Dec-05 2:09 
AnswerRe: Tape Drive help required Pin
kakan19-Dec-05 2:40
professionalkakan19-Dec-05 2:40 
GeneralRe: Tape Drive help required Pin
Touseef Afzal19-Dec-05 3:29
Touseef Afzal19-Dec-05 3:29 
GeneralRe: Tape Drive help required Pin
kakan19-Dec-05 3:50
professionalkakan19-Dec-05 3:50 
GeneralRe: Tape Drive help required Pin
Touseef Afzal19-Dec-05 4:07
Touseef Afzal19-Dec-05 4:07 
GeneralRe: Tape Drive help required Pin
kakan19-Dec-05 18:35
professionalkakan19-Dec-05 18:35 
GeneralRe: Tape Drive help required Pin
Touseef Afzal19-Dec-05 19:16
Touseef Afzal19-Dec-05 19:16 
Questionopen jpeg file on listbox Pin
uumeme19-Dec-05 1:33
uumeme19-Dec-05 1:33 
AnswerRe: open jpeg file on listbox Pin
Maximilien19-Dec-05 2:50
Maximilien19-Dec-05 2:50 
AnswerRe: open jpeg file on listbox Pin
Pale_Master19-Dec-05 5:38
Pale_Master19-Dec-05 5:38 
QuestionApplication has encountered a problem... Pin
Eytukan19-Dec-05 1:26
Eytukan19-Dec-05 1:26 

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.