Click here to Skip to main content
15,920,688 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Looking for panacea...Type of the control...I have only CWnd pointer Pin
Jon Hulatt6-Dec-01 6:06
Jon Hulatt6-Dec-01 6:06 
GeneralRe: Looking for panacea...Type of the control...I have only CWnd pointer Pin
Alvaro Mendez6-Dec-01 10:13
Alvaro Mendez6-Dec-01 10:13 
GeneralRe: Looking for panacea...Type of the control...I have only CWnd pointer Pin
Jon Hulatt6-Dec-01 22:29
Jon Hulatt6-Dec-01 22:29 
GeneralPlease Help !!! Pin
The_Server6-Dec-01 1:26
The_Server6-Dec-01 1:26 
GeneralRe: Please Help !!! Pin
Jon Hulatt6-Dec-01 2:28
Jon Hulatt6-Dec-01 2:28 
GeneralRe: Please Help !!! Pin
Christian Graus6-Dec-01 9:19
protectorChristian Graus6-Dec-01 9:19 
GeneralEnum... Pin
Bernhard6-Dec-01 1:10
Bernhard6-Dec-01 1:10 
GeneralRe: Enum... Pin
BlackSmith6-Dec-01 11:00
BlackSmith6-Dec-01 11:00 
The greatest atvantage about enum is that compiler (C++'s) does strong type
checking on'em.

take e.g.:

enum Days{SUNDAY, MONDAY,...};

void MyClass::CheckDay(Days day)
{
switch(day)
case SUNDAY : cout << "Sunday";
//.....
}

(We know that SUNDAY == 0)

MyClass dayChecker;
dayChecker.CheckDay(0); //Compiler error: The method expects to
// receive Days data type
dayChecker.CheckDay(SUNDAY); //This will.

--BlackSmith--




"With the help of all mighty", 2001, Me.
GeneralThank you all for your great help Pin
Bernhard6-Dec-01 19:20
Bernhard6-Dec-01 19:20 
GeneralRe: Enum... Pin
Shog96-Dec-01 12:42
sitebuilderShog96-Dec-01 12:42 
GeneralRe: Enum... Pin
Michael Dunn6-Dec-01 13:32
sitebuilderMichael Dunn6-Dec-01 13:32 
GeneralFinding proper documentation for AddIn Interfaces Pin
Franz Klein5-Dec-01 23:24
Franz Klein5-Dec-01 23:24 
GeneralError in calling resource function Pin
5-Dec-01 22:36
suss5-Dec-01 22:36 
GeneralBeginner : using .INI files Pin
Jerome Conus5-Dec-01 22:11
Jerome Conus5-Dec-01 22:11 
GeneralRe: Beginner : using .INI files Pin
Michael P Butler5-Dec-01 23:36
Michael P Butler5-Dec-01 23:36 
GeneralRe: Beginner : using .INI files Pin
Alvaro Mendez6-Dec-01 10:17
Alvaro Mendez6-Dec-01 10:17 
GeneralThread problem Pin
marutis5-Dec-01 21:57
marutis5-Dec-01 21:57 
QuestionDraw text without HDC, possible? Pin
Baling5-Dec-01 21:18
Baling5-Dec-01 21:18 
AnswerRe: Draw text without HDC, possible? Pin
Chambers6-Dec-01 2:23
Chambers6-Dec-01 2:23 
GeneralRe: Draw text without HDC, possible? Pin
Baling6-Dec-01 5:11
Baling6-Dec-01 5:11 
QuestionHow to control Display Pin
binnu5-Dec-01 20:01
binnu5-Dec-01 20:01 
GeneralDynamic IP address Pin
5-Dec-01 19:16
suss5-Dec-01 19:16 
GeneralRe: Dynamic IP address Pin
Gennady Oster5-Dec-01 20:36
Gennady Oster5-Dec-01 20:36 
GeneralMost Impacting/Powerful Future Programming Language Pin
valikac5-Dec-01 18:19
valikac5-Dec-01 18:19 
GeneralAny 'C' equivalent to Code Project Pin
SAK5-Dec-01 14:39
SAK5-Dec-01 14:39 

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.