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

C / C++ / MFC

 
GeneralRe: Looking for panacea...Type of the control...I have only CWnd pointer Pin
Rickard Andersson206-Dec-01 3:24
Rickard Andersson206-Dec-01 3:24 
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 
i really like to know much bout things i use.. and today there are enums..
i've tried to find some informations in 3 sources (msdn, stroustrup the c++ programming language and thinking in c++).. and i couldn't really find an answer for my questions..

* what is the difference between named and unnamed enums
enum num1
{
    value1
};
enum
{
    value2
}

* do i HAVE to call them qualified ? (num1::value)
* what is the big advantage of using enums instead of #defines (outside of classes)
* "thinking in c++" said that you should use static const - var's instead of enums, is this really better ?

i hope somebody can help me to answer these questions..
thanks in advance

Bernhard


"There are three roads to ruin: women, gambling and technicians. The most pleasant is with women, the quickest is with gambling, but the surest is with technicians." Georges Pompidou
GeneralRe: Enum... Pin
BlackSmith6-Dec-01 11:00
BlackSmith6-Dec-01 11:00 
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 

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.