Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Monitor hard drive light via a C++ program in Windows XP Pin
isikorsky9112-Oct-07 8:24
isikorsky9112-Oct-07 8:24 
GeneralRe: Monitor hard drive light via a C++ program in Windows XP Pin
David Crow12-Oct-07 8:42
David Crow12-Oct-07 8:42 
QuestionInserting a table in dialog... Pin
gReaen12-Oct-07 2:44
gReaen12-Oct-07 2:44 
AnswerRe: Inserting a table in dialog... Pin
David Crow12-Oct-07 2:50
David Crow12-Oct-07 2:50 
GeneralRe: Inserting a table in dialog... Pin
gReaen12-Oct-07 3:01
gReaen12-Oct-07 3:01 
AnswerRe: Inserting a table in dialog... Pin
chandu00412-Oct-07 3:12
chandu00412-Oct-07 3:12 
QuestionConstant member variable Pin
ashishbhatt12-Oct-07 2:20
ashishbhatt12-Oct-07 2:20 
AnswerRe: Constant member variable Pin
Nibu babu thomas12-Oct-07 2:35
Nibu babu thomas12-Oct-07 2:35 
ashishbhatt wrote:
how can i use constant member varible in simple class?



class ConstantTest
{
   ConstantTest() : m_SomeConstant( 10 ) // Initialize here
   {}
private:
   const int m_SomeConstant;
   enum { AnotherConstant = 20 };
};



Nibu thomas
MVP For VC++

Code must be written to be read, not by the compiler, but by another human being.

Programming Blog: http:\\nibuthomas.wordpress.com

GeneralRe: Constant member variable Pin
ashishbhatt12-Oct-07 16:40
ashishbhatt12-Oct-07 16:40 
AnswerRe: Constant member variable Pin
Maximilien12-Oct-07 2:37
Maximilien12-Oct-07 2:37 
QuestionFocus Problem Pin
john563212-Oct-07 1:40
john563212-Oct-07 1:40 
QuestionJunction point Pin
San246812-Oct-07 1:00
San246812-Oct-07 1:00 
QuestionCreate DLL Pin
Gui_p12-Oct-07 0:55
Gui_p12-Oct-07 0:55 
AnswerRe: Create DLL Pin
jhwurmbach12-Oct-07 2:14
jhwurmbach12-Oct-07 2:14 
GeneralRe: Create DLL Pin
Gui_p12-Oct-07 3:35
Gui_p12-Oct-07 3:35 
Question[SOLVED] Initialize empty buffer Pin
CodingLover12-Oct-07 0:41
CodingLover12-Oct-07 0:41 
AnswerRe: Initialize empty buffer Pin
toxcct12-Oct-07 0:48
toxcct12-Oct-07 0:48 
GeneralRe: Initialize empty buffer Pin
CodingLover12-Oct-07 0:53
CodingLover12-Oct-07 0:53 
GeneralRe: Initialize empty buffer Pin
chandu00412-Oct-07 0:59
chandu00412-Oct-07 0:59 
GeneralRe: Initialize empty buffer Pin
CodingLover12-Oct-07 1:07
CodingLover12-Oct-07 1:07 
GeneralRe: Initialize empty buffer Pin
Nelek12-Oct-07 1:10
protectorNelek12-Oct-07 1:10 
GeneralRe: Initialize empty buffer Pin
CodingLover12-Oct-07 1:19
CodingLover12-Oct-07 1:19 
GeneralRe: Initialize empty buffer Pin
Nishad S12-Oct-07 1:20
Nishad S12-Oct-07 1:20 
GeneralRe: Initialize empty buffer Pin
Nelek12-Oct-07 2:02
protectorNelek12-Oct-07 2:02 
GeneralRe: Initialize empty buffer Pin
chandu00412-Oct-07 1:38
chandu00412-Oct-07 1: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.