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

C / C++ / MFC

 
GeneralRe: Sockets question Pin
bryce16-Dec-03 19:15
bryce16-Dec-03 19:15 
GeneralRe: Sockets question Pin
Tom Wright17-Dec-03 6:18
Tom Wright17-Dec-03 6:18 
GeneralRe: Sockets question Pin
bryce17-Dec-03 11:34
bryce17-Dec-03 11:34 
GeneralRe: Sockets question Pin
joegood1-Jun-04 6:57
joegood1-Jun-04 6:57 
QuestionHow to a get a coloured button Pin
Deepak Samuel16-Dec-03 11:52
Deepak Samuel16-Dec-03 11:52 
AnswerRe: How to a get a coloured button Pin
Bob Stanneveld16-Dec-03 21:03
Bob Stanneveld16-Dec-03 21:03 
AnswerRe: How to a get a coloured button Pin
satadru16-Dec-03 21:14
satadru16-Dec-03 21:14 
General'string' to 'enum' conversion. Pin
WREY16-Dec-03 10:49
WREY16-Dec-03 10:49 
Is there a way to convert the value of a string to an 'enum' value? For example:
string pos = "first";
enum ePOS {first, second, third, etc} POS;
POS = pos;     // this is what I'm trying to do
OK, I know "first" as a string, is different than "first" as an 'enum' value (the 'enum' value being the equivalent of integer 0). But if the user enters "first" I'm trying to equate that to the 'enum' value "first" (without having to do a lot of "if - else" testing).

Unsure | :~

William

Fortes in fide et opere!
GeneralRe: 'string' to 'enum' conversion. Pin
BaldwinMartin16-Dec-03 11:16
BaldwinMartin16-Dec-03 11:16 
GeneralRe: 'string' to 'enum' conversion. Pin
Michael Dunn16-Dec-03 11:43
sitebuilderMichael Dunn16-Dec-03 11:43 
GeneralRe: 'string' to 'enum' conversion. Pin
WREY16-Dec-03 12:54
WREY16-Dec-03 12:54 
GeneralRe: 'string' to 'enum' conversion. Pin
Robert A. T. Káldy18-Dec-03 3:20
Robert A. T. Káldy18-Dec-03 3:20 
GeneralHeap Hell Pin
Matthew Busche16-Dec-03 10:06
Matthew Busche16-Dec-03 10:06 
GeneralRe: Heap Hell Pin
Michael Dunn16-Dec-03 10:13
sitebuilderMichael Dunn16-Dec-03 10:13 
GeneralRe: Heap Hell Pin
forjer16-Dec-03 11:11
forjer16-Dec-03 11:11 
GeneralEMail Logic Question Pin
BaldwinMartin16-Dec-03 9:11
BaldwinMartin16-Dec-03 9:11 
GeneralRe: EMail Logic Question Pin
Alexander M.,16-Dec-03 9:17
Alexander M.,16-Dec-03 9:17 
GeneralRe: EMail Logic Question Pin
BaldwinMartin16-Dec-03 9:23
BaldwinMartin16-Dec-03 9:23 
GeneralRe: EMail Logic Question Pin
Garth J Lancaster16-Dec-03 10:21
professionalGarth J Lancaster16-Dec-03 10:21 
GeneralRe: EMail Logic Question Pin
BaldwinMartin16-Dec-03 10:35
BaldwinMartin16-Dec-03 10:35 
GeneralRe: EMail Logic Question Pin
Garth J Lancaster16-Dec-03 11:02
professionalGarth J Lancaster16-Dec-03 11:02 
GeneralRe: EMail Logic Question Pin
BaldwinMartin16-Dec-03 11:14
BaldwinMartin16-Dec-03 11:14 
GeneralRe: EMail Logic Question (other option, the best) Pin
Tim Smith16-Dec-03 12:08
Tim Smith16-Dec-03 12:08 
GeneralRe: EMail Logic Question Pin
Ravi Bhavnani16-Dec-03 18:34
professionalRavi Bhavnani16-Dec-03 18:34 
GeneralSys Info Pin
Chechi16-Dec-03 8:17
Chechi16-Dec-03 8:17 

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.