Click here to Skip to main content
15,914,397 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPlatform SDK Problem Pin
Bernhard25-May-04 23:14
Bernhard25-May-04 23:14 
GeneralRe: Platform SDK Problem Pin
Antony M Kancidrowski26-May-04 3:55
Antony M Kancidrowski26-May-04 3:55 
GeneralUsing Pipes on Win 98 Pin
Member 33928725-May-04 22:29
Member 33928725-May-04 22:29 
GeneralRe: Using Pipes on Win 98 Pin
Ryan Roberts26-May-04 3:42
Ryan Roberts26-May-04 3:42 
GeneralGetting BoderStyle At Runtine Pin
IceBerG7125-May-04 22:28
IceBerG7125-May-04 22:28 
GeneralRe: Getting BoderStyle At Runtine Pin
Diddy26-May-04 0:05
Diddy26-May-04 0:05 
QuestionIs what possible??? Pin
El'Cachubrey25-May-04 22:17
El'Cachubrey25-May-04 22:17 
AnswerRe: Is what possible??? Pin
Ryan Binns25-May-04 23:48
Ryan Binns25-May-04 23:48 
You can only switch on integral types - char, short, int, long (and their unsigned variants) and enumerated types.

You'll have to use an if statement in this case.

If you have to modify your processing based on the template parameter, then I don't thing you're really understanding the concepts of using templates. Read some articles or books on templates, particularly on partial template specialisation. "Modern C++ Design" by Andrei Alexandrescu is an extremely good book for learning about templates in depth.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

Generaldebugger out of step with code Pin
bryce25-May-04 21:13
bryce25-May-04 21:13 
GeneralRe: debugger out of step with code Pin
Antony M Kancidrowski25-May-04 22:28
Antony M Kancidrowski25-May-04 22:28 
GeneralRe: debugger out of step with code Pin
MrContact26-May-04 2:39
MrContact26-May-04 2:39 
GeneralRe: debugger out of step with code Pin
bryce26-May-04 13:27
bryce26-May-04 13:27 
GeneralRe: debugger out of step with code Pin
bryce27-May-04 0:51
bryce27-May-04 0:51 
GeneralProblems in Enumerating network Pin
abdul moeed25-May-04 21:12
abdul moeed25-May-04 21:12 
GeneralRe: Problems in Enumerating network Pin
David Crow26-May-04 3:15
David Crow26-May-04 3:15 
GeneralRe: Problems in Enumerating network Pin
abdul moeed26-May-04 19:05
abdul moeed26-May-04 19:05 
GeneralRe: Problems in Enumerating network Pin
David Crow27-May-04 2:31
David Crow27-May-04 2:31 
GeneralRe: Problems in Enumerating network Pin
abdul moeed27-May-04 19:08
abdul moeed27-May-04 19:08 
General1 function multiple buttons Pin
V.25-May-04 21:01
professionalV.25-May-04 21:01 
GeneralRe: 1 function multiple buttons Pin
Johan Rosengren25-May-04 21:32
Johan Rosengren25-May-04 21:32 
GeneralSetting plain text in Outlook Pin
ptrbr25-May-04 20:52
ptrbr25-May-04 20:52 
Questionhow to override the Close or X button of a FormView Pin
elephantstar25-May-04 19:58
elephantstar25-May-04 19:58 
AnswerRe: how to override the Close or X button of a FormView Pin
*Dreamz25-May-04 20:33
*Dreamz25-May-04 20:33 
GeneralRe: how to override the Close or X button of a FormView Pin
elephantstar26-May-04 6:14
elephantstar26-May-04 6:14 
GeneralRe: how to override the Close or X button of a FormView Pin
*Dreamz26-May-04 17:44
*Dreamz26-May-04 17:44 

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.