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

C / C++ / MFC

 
GeneralRe: static text box , GetClientRect, GetTextExtent [modified] Pin
Mark Salsbery16-May-07 8:24
Mark Salsbery16-May-07 8:24 
GeneralRe: static text box , GetClientRect, GetTextExtent Pin
daveyerwin16-May-07 14:13
daveyerwin16-May-07 14:13 
GeneralRe: static text box , GetClientRect, GetTextExtent Pin
Mark Salsbery16-May-07 14:26
Mark Salsbery16-May-07 14:26 
QuestionRe: static text box , GetClientRect, GetTextExtent Pin
Hamid_RT16-May-07 5:25
Hamid_RT16-May-07 5:25 
Questionenum Pin
klutez12316-May-07 3:09
klutez12316-May-07 3:09 
AnswerRe: enum Pin
David Crow16-May-07 3:15
David Crow16-May-07 3:15 
GeneralRe: enum Pin
klutez12316-May-07 3:18
klutez12316-May-07 3:18 
GeneralRe: enum Pin
Maximilien16-May-07 3:38
Maximilien16-May-07 3:38 
enum are only an internal semantic representation of an integer value.

you will store the integer value; not it's "representation"

if a user enters 1 ( in the enum is fiction ) it will be stored as 1.

pseudo code :

you can either directly do something like :

typedef enum {fiction, nonfiction, reference, pond} typeofbook;

typeofbook myBookType;

int i;
cin>>i;

myBookType = (typeofbook) i;




Maximilien Lincourt
Your Head A Splode - Strong Bad

Questionhow to build a 3-dimension image processing ? Pin
gentleguy16-May-07 3:02
gentleguy16-May-07 3:02 
AnswerRe: how to build a 3-dimension image processing ? Pin
Cedric Moonen16-May-07 3:29
Cedric Moonen16-May-07 3:29 
AnswerRe: how to build a 3-dimension image processing ? Pin
Hamid_RT16-May-07 5:40
Hamid_RT16-May-07 5:40 
QuestionSave an image (of 24 bits depth or less) Pin
llp00na16-May-07 3:00
llp00na16-May-07 3:00 
AnswerRe: Save an image (of 24 bits depth or less) Pin
Mark Salsbery16-May-07 5:27
Mark Salsbery16-May-07 5:27 
GeneralRe: Save an image (of 24 bits depth or less) Pin
llp00na16-May-07 6:21
llp00na16-May-07 6:21 
GeneralRe: Save an image (of 24 bits depth or less) Pin
Mark Salsbery16-May-07 6:31
Mark Salsbery16-May-07 6:31 
GeneralRe: Save an image (of 24 bits depth or less) Pin
llp00na16-May-07 6:42
llp00na16-May-07 6:42 
GeneralRe: Save an image (of 24 bits depth or less) Pin
Nelek17-May-07 20:04
protectorNelek17-May-07 20:04 
Questionwininet.h and winsock.h Pin
amitmistry_petlad 16-May-07 2:59
amitmistry_petlad 16-May-07 2:59 
AnswerRe: wininet.h and winsock.h Pin
Mark Salsbery16-May-07 5:32
Mark Salsbery16-May-07 5:32 
GeneralRe: wininet.h and winsock.h Pin
amitmistry_petlad 16-May-07 17:34
amitmistry_petlad 16-May-07 17:34 
GeneralRe: wininet.h and winsock.h Pin
Mark Salsbery17-May-07 5:21
Mark Salsbery17-May-07 5:21 
GeneralRe: wininet.h and winsock.h Pin
amitmistry_petlad 17-May-07 18:01
amitmistry_petlad 17-May-07 18:01 
QuestionWIN32_FIND_DATA pTempFind; and .cFileName Pin
Immunity1816-May-07 2:51
Immunity1816-May-07 2:51 
AnswerRe: WIN32_FIND_DATA pTempFind; and .cFileName Pin
Immunity1816-May-07 3:01
Immunity1816-May-07 3:01 
QuestionRe: WIN32_FIND_DATA pTempFind; and .cFileName Pin
David Crow16-May-07 3:04
David Crow16-May-07 3:04 

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.