Re: New to c++.net (need help)

From: rossum (rossum48_at_coldmail.com)
Date: 10/11/04


Date: Mon, 11 Oct 2004 21:11:08 +0100

On Sat, 09 Oct 2004 17:12:50 GMT, "Mike Wahler"
<mkwahler@mkwahler.net> wrote:

[snip]
>Here's a hint for when your program is behaving other than how you expect, especially
>when it involves decision points
[snip]

And another hint. Try running through your program on a piece of
paper. List all the variables across the top, and draw columns, one
for each variable. As each variable is assigned, put its value in the
column, crossing out any previous values. At each decision point see
what the current values of the variables are and take the decision
accordingly. Just another debugging method.

Both Mike's initial post and Bart's post are well worth reading, they
will give you a lot of help.

rossum

>
>HTH,
>-Mike
>

--
The ultimate truth is that there is no Ultimate Truth


Relevant Pages

  • Re: How did it dead lock?
    ... A side-benefit is much less complicated white-box ... testing, since the "hiding" of implementation of state is only a hint, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Almost got it, need more help (newbie)
    ... Looking at you code I think that when you say "add a void", ... float is bad style because it is not very accurate. ... The ultimate truth is that there is no Ultimate Truth ...
    (alt.comp.lang.learn.c-cpp)
  • Re: New Evolution/ID debate thread
    ... So, taking the specific example of apes and humans, what Irreducibly ... The ultimate truth is that there is no ultimate truth ...
    (talk.origins)
  • Re: Lorentz Contraction for the even dumber
    ... >> snip< ... > Old fart, ... Hint: nothing meaningful, ... that volume if any rigorous maths follow. ...
    (sci.physics.relativity)
  • Re: Moonbeams Shine on Einstein, Galileo and Newton
    ... > Dirk Van de moortel wrote: ... > the one-way speed of light is c to all moving observers. ... Hint: use the big hint I have given you five times now. ...
    (sci.physics.relativity)