Click here to Skip to main content
15,891,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Good code, wrong result Pin
Luc Pattyn4-Oct-09 5:25
sitebuilderLuc Pattyn4-Oct-09 5:25 
AnswerRe: Good code, wrong result Pin
Richard MacCutchan4-Oct-09 5:44
mveRichard MacCutchan4-Oct-09 5:44 
GeneralRe: Good code, wrong result Pin
Luc Pattyn4-Oct-09 6:08
sitebuilderLuc Pattyn4-Oct-09 6:08 
GeneralRe: Good code, wrong result Pin
Waldemar Ork4-Oct-09 7:40
Waldemar Ork4-Oct-09 7:40 
GeneralRe: Good code, wrong result Pin
Luc Pattyn4-Oct-09 8:39
sitebuilderLuc Pattyn4-Oct-09 8:39 
AnswerRe: Good code, wrong result Pin
David Crow5-Oct-09 4:56
David Crow5-Oct-09 4:56 
GeneralRe: Good code, wrong result Pin
Waldemar Ork5-Oct-09 23:29
Waldemar Ork5-Oct-09 23:29 
QuestionC++ Helper Wanted Pin
MrMcIntyre4-Oct-09 3:48
MrMcIntyre4-Oct-09 3:48 
QuestionRe: C++ Helper Wanted Pin
Maximilien4-Oct-09 4:11
Maximilien4-Oct-09 4:11 
AnswerRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 4:20
MrMcIntyre4-Oct-09 4:20 
GeneralRe: C++ Helper Wanted Pin
Michael Schubert4-Oct-09 4:51
Michael Schubert4-Oct-09 4:51 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 4:54
MrMcIntyre4-Oct-09 4:54 
GeneralRe: C++ Helper Wanted Pin
Michael Schubert4-Oct-09 5:08
Michael Schubert4-Oct-09 5:08 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 5:14
MrMcIntyre4-Oct-09 5:14 
GeneralRe: C++ Helper Wanted Pin
Michael Schubert4-Oct-09 5:19
Michael Schubert4-Oct-09 5:19 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 5:23
MrMcIntyre4-Oct-09 5:23 
GeneralRe: C++ Helper Wanted Pin
Michael Schubert4-Oct-09 5:34
Michael Schubert4-Oct-09 5:34 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 5:39
MrMcIntyre4-Oct-09 5:39 
GeneralRe: C++ Helper Wanted Pin
Maximilien4-Oct-09 5:58
Maximilien4-Oct-09 5:58 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 6:09
MrMcIntyre4-Oct-09 6:09 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 7:11
MrMcIntyre4-Oct-09 7:11 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 7:19
MrMcIntyre4-Oct-09 7:19 
GeneralRe: C++ Helper Wanted [modified] Pin
Michael Schubert4-Oct-09 11:33
Michael Schubert4-Oct-09 11:33 
MrMcIntyre wrote:
When I wrote the code I had 1 failed error


I get 5 or 6 when I try to compile this (VC6, 2003 Platform SDK). The switch statement is screwed up, you're using non-existing window styles, typos, etc.

All I see is a pretty standard Win32 application skeleton that just creates a window and a message loop. Well, it would if you fixed all the obvious errors.

Don't get me wrong - I don't want to discourage you from writing this program but you're getting way ahead of yourself. Once you really understand what the above code does (and know how to fix the errors) you can start putting in your own code.

modified on Sunday, October 4, 2009 5:42 PM

GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 11:51
MrMcIntyre4-Oct-09 11:51 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre5-Oct-09 9:57
MrMcIntyre5-Oct-09 9:57 

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.