Re: New to c++.net (need help)
From: rossum (rossum48_at_coldmail.com)
Date: 10/11/04
- Next message: Alwyn: "Re: reading array elements as integers?"
- Previous message: mail_at_derekb.org.uk: "Re: reading array elements as integers?"
- In reply to: Mike Wahler: "Re: New to c++.net (need help)"
- Next in thread: Old Wolf: "Re: New to c++.net (need help)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Alwyn: "Re: reading array elements as integers?"
- Previous message: mail_at_derekb.org.uk: "Re: reading array elements as integers?"
- In reply to: Mike Wahler: "Re: New to c++.net (need help)"
- Next in thread: Old Wolf: "Re: New to c++.net (need help)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|