Click here to Skip to main content
15,880,725 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: array input using edit box Pin
David Crow21-Sep-06 7:28
David Crow21-Sep-06 7:28 
GeneralRe: array input using edit box Pin
Cyclone0222-Sep-06 5:59
Cyclone0222-Sep-06 5:59 
QuestionCall Windows Explorer after save files Pin
Max++21-Sep-06 5:19
Max++21-Sep-06 5:19 
AnswerRe: Call Windows Explorer after save files Pin
toxcct21-Sep-06 5:39
toxcct21-Sep-06 5:39 
QuestionDialog don't get focus back [modified] Pin
jsumm21-Sep-06 4:34
jsumm21-Sep-06 4:34 
QuestionComparing enum types Pin
Waldermort21-Sep-06 4:25
Waldermort21-Sep-06 4:25 
AnswerRe: Comparing enum types Pin
Zac Howland21-Sep-06 4:44
Zac Howland21-Sep-06 4:44 
GeneralRe: Comparing enum types Pin
Waldermort21-Sep-06 5:21
Waldermort21-Sep-06 5:21 
Doh!!

Another question if I may.
Is it possible to increase the enum type? In my previous code I used this formula to get the next seat
m_sActiveSeat = (m_sActiveSeat+1)%4;
However this cause the compile error
cannot convert from 'int' to 'enum tile_from_t'
I also tried
m_sActiveSeat++
which would be great if it wrapped around, but still no success.

Is there a simple way to do this rather than using a switch?
GeneralRe: Comparing enum types Pin
Zac Howland21-Sep-06 5:36
Zac Howland21-Sep-06 5:36 
GeneralRe: Comparing enum types Pin
Waldermort21-Sep-06 5:45
Waldermort21-Sep-06 5:45 
QuestionReceive broadcast UDP Pin
jeron121-Sep-06 4:14
jeron121-Sep-06 4:14 
QuestionRe: Receive broadcast UDP Pin
Eytukan21-Sep-06 6:17
Eytukan21-Sep-06 6:17 
AnswerRe: Receive broadcast UDP Pin
jeron121-Sep-06 7:17
jeron121-Sep-06 7:17 
QuestionTo reduce the duplication of exes Pin
johnalek21-Sep-06 3:44
johnalek21-Sep-06 3:44 
AnswerRe: To reduce the duplication of exes Pin
toxcct21-Sep-06 3:48
toxcct21-Sep-06 3:48 
QuestionRe: To reduce the duplication of exes Pin
Eytukan21-Sep-06 3:48
Eytukan21-Sep-06 3:48 
QuestionRe: To reduce the duplication of exes Pin
David Crow21-Sep-06 4:11
David Crow21-Sep-06 4:11 
QuestionLinking Error : can not select the ........... Pin
Y_Kaushik21-Sep-06 3:16
Y_Kaushik21-Sep-06 3:16 
AnswerRe: Linking Error : can not select the ........... Pin
David Crow21-Sep-06 3:18
David Crow21-Sep-06 3:18 
AnswerRe: Linking Error : can not select the ........... Pin
Eytukan21-Sep-06 3:59
Eytukan21-Sep-06 3:59 
QuestionVB application error Pin
irudayam21-Sep-06 2:40
irudayam21-Sep-06 2:40 
AnswerRe: VB application error Pin
toxcct21-Sep-06 2:47
toxcct21-Sep-06 2:47 
QuestionRe: VB application error Pin
David Crow21-Sep-06 3:04
David Crow21-Sep-06 3:04 
QuestionRe: VB application error Pin
Eytukan21-Sep-06 3:57
Eytukan21-Sep-06 3:57 
AnswerRe: VB application error Pin
Roger Stoltz21-Sep-06 4:00
Roger Stoltz21-Sep-06 4:00 

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.