Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in email sending(MFC) Pin
Kamesh24-Mar-03 0:34
Kamesh24-Mar-03 0:34 
Questionadd a new menu in the studio, how?? Pin
schaereran@gmx.net21-Mar-03 2:56
schaereran@gmx.net21-Mar-03 2:56 
QuestionHow to merge resources in VC++ Pin
Kamesh21-Mar-03 1:00
Kamesh21-Mar-03 1:00 
AnswerRe: How to merge resources in VC++ Pin
Willem B21-Mar-03 1:07
Willem B21-Mar-03 1:07 
AnswerRe: How to merge resources in VC++ Pin
¡ºÎú¢â¡»21-Mar-03 1:45
suss¡ºÎú¢â¡»21-Mar-03 1:45 
AnswerRe: How to merge resources in VC++ Pin
KarstenK21-Mar-03 2:35
mveKarstenK21-Mar-03 2:35 
QuestionCan I not use static const when declaring members? Pin
tom7621-Mar-03 0:23
tom7621-Mar-03 0:23 
AnswerRe: Can I not use static const when declaring members? Pin
Neville Franks21-Mar-03 0:46
Neville Franks21-Mar-03 0:46 
tom76 wrote:
const int MyClass::MEMBER_ONE = 64;
const int MyClass::MEMBER_TWO = 128;


These must appear only once, so move them from the .h to the .cpp that defines the class.

It would also help a lot if you included the specific compiler error and indicated what line it referred to.

tom76 wrote:
static const MyClass MyObj;

This instantiating an instance of the class. Is that what you realy want. I don't know if you can have a const class like this.

Also globals are bad, very bad.

Neville Franks, Author of ED for Windows. www.getsoft.com
Make money with our new Affilate program
GeneralRe: Can I not use static const when declaring members? Pin
tom7621-Mar-03 1:06
tom7621-Mar-03 1:06 
GeneralRe: Can I not use static const when declaring members? Pin
jhwurmbach21-Mar-03 3:34
jhwurmbach21-Mar-03 3:34 
GeneralRe: Can I not use static const when declaring members? Pin
tom7621-Mar-03 3:49
tom7621-Mar-03 3:49 
GeneralRe: Can I not use static const when declaring members? Pin
catchnine21-Mar-03 5:55
catchnine21-Mar-03 5:55 
AnswerRe: Can I not use static const when declaring members? Pin
John R. Shaw21-Mar-03 7:10
John R. Shaw21-Mar-03 7:10 
GeneralRe: Can I not use static const when declaring members? Pin
tom7621-Mar-03 8:00
tom7621-Mar-03 8:00 
QuestionHow to create a window please help Pin
Jump_Around20-Mar-03 23:29
Jump_Around20-Mar-03 23:29 
AnswerRe: How to create a window please help Pin
Michael P Butler21-Mar-03 0:07
Michael P Butler21-Mar-03 0:07 
GeneralRe: How to create a window please help Pin
Jump_Around21-Mar-03 0:26
Jump_Around21-Mar-03 0:26 
GeneralStarting Up Books Pin
BZZR20-Mar-03 23:24
BZZR20-Mar-03 23:24 
GeneralRe: Starting Up Books Pin
Le Ridder Noir20-Mar-03 23:43
Le Ridder Noir20-Mar-03 23:43 
GeneralRe: Starting Up Books Pin
Paul Ingles21-Mar-03 1:09
Paul Ingles21-Mar-03 1:09 
GeneralRe: Starting Up Books Pin
valikac21-Mar-03 6:06
valikac21-Mar-03 6:06 
GeneralRe: Starting Up Books Pin
BZZR21-Mar-03 8:16
BZZR21-Mar-03 8:16 
GeneralRe: Starting Up Books Pin
John R. Shaw21-Mar-03 10:11
John R. Shaw21-Mar-03 10:11 
GeneralRe: Starting Up Books Pin
georgiek5021-Mar-03 13:40
georgiek5021-Mar-03 13:40 
GeneralRe: Starting Up Books Pin
John R. Shaw21-Mar-03 20:13
John R. Shaw21-Mar-03 20:13 

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.