Click here to Skip to main content
15,896,201 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: ?? Pin
Hamed Musavi31-Jul-07 4:10
Hamed Musavi31-Jul-07 4:10 
GeneralRe: ?? Pin
Nelek2-Aug-07 20:12
protectorNelek2-Aug-07 20:12 
GeneralRe: ?? Pin
Hamed Musavi2-Aug-07 22:41
Hamed Musavi2-Aug-07 22:41 
Questionbug? [modified] Pin
garfaoui30-Jul-07 23:47
garfaoui30-Jul-07 23:47 
AnswerRe: bug? Pin
Nelek31-Jul-07 0:01
protectorNelek31-Jul-07 0:01 
GeneralRe: bug? Pin
garfaoui31-Jul-07 0:13
garfaoui31-Jul-07 0:13 
AnswerRe: bug? Pin
Christian Graus31-Jul-07 0:06
protectorChristian Graus31-Jul-07 0:06 
GeneralRe: bug? Pin
garfaoui31-Jul-07 0:16
garfaoui31-Jul-07 0:16 
Christian Graus wrote:
Why use an int if you plainly want a bool ?

because this is only a part of the main programm, there is another thing that can change the value of a into 2.


Christian Graus wrote:
why increment i in the middle, which makes the code harder to read ?


You are right i should put it at the beginning


Christian Graus wrote:
have you tried stepping through the code to see what values are being read into c and t ?

I am about to do it, maybe i should have done that before posting a message.

Thank you for your advise!
AnswerRe: bug? Pin
Nishad S31-Jul-07 0:09
Nishad S31-Jul-07 0:09 
GeneralRe: bug? Pin
garfaoui31-Jul-07 0:17
garfaoui31-Jul-07 0:17 
GeneralRe: bug? Pin
Nishad S31-Jul-07 18:35
Nishad S31-Jul-07 18:35 
AnswerRe: bug? Pin
garfaoui31-Jul-07 0:31
garfaoui31-Jul-07 0:31 
AnswerRe: bug? Pin
Nelek31-Jul-07 0:44
protectorNelek31-Jul-07 0:44 
GeneralRe: bug? Pin
garfaoui31-Jul-07 0:47
garfaoui31-Jul-07 0:47 
QuestionRe: bug? Pin
Nelek31-Jul-07 0:52
protectorNelek31-Jul-07 0:52 
AnswerRe: bug? Pin
garfaoui31-Jul-07 0:59
garfaoui31-Jul-07 0:59 
GeneralRe: bug? Pin
Nelek31-Jul-07 0:56
protectorNelek31-Jul-07 0:56 
GeneralRe: bug? Pin
garfaoui31-Jul-07 1:02
garfaoui31-Jul-07 1:02 
GeneralRe: bug? Pin
jhwurmbach31-Jul-07 1:56
jhwurmbach31-Jul-07 1:56 
GeneralRe: bug? Pin
garfaoui31-Jul-07 2:00
garfaoui31-Jul-07 2:00 
QuestionRe: bug? Pin
David Crow31-Jul-07 2:38
David Crow31-Jul-07 2:38 
AnswerRe: bug? Pin
garfaoui31-Jul-07 3:03
garfaoui31-Jul-07 3:03 
GeneralRe: bug? Pin
David Crow31-Jul-07 3:06
David Crow31-Jul-07 3:06 
GeneralRe: bug? Pin
garfaoui31-Jul-07 3:18
garfaoui31-Jul-07 3:18 
JokeRe: bug? Pin
Nelek31-Jul-07 3:45
protectorNelek31-Jul-07 3:45 

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.