![]() |
| | #1 |
| carry on Join Date: Feb 2003 Location: Seattle, WA
Posts: 1,971
| Debugging-Looking in the wrong places Code: for (int i=0;i<4;i++)
{
for (int i2=0;i<4;i++)
{
__________________ "Think not but that I know these things; or think I know them not: not therefore am I short Of knowing what I ought." -John Milton, Paradise Regained (1671) "Work hard and it might happen." -XSquared |
| JaWiB is offline |
| | #2 |
| Registered User Join Date: Jul 2003
Posts: 450
| Having just read Code Complete one suggestion he makes is using more meaning full names for your index variables based on what they are used for. I think this would have helped in your case. |
| curlious is offline |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Debugging Dev C++ | tuurb046 | Tech Board | 10 | 08-16-2007 12:51 PM |
| gdb no debugging symbols found | Laserve | Linux Programming | 8 | 09-17-2006 08:56 AM |
| debugging directx apps | confuted | C++ Programming | 1 | 08-16-2003 08:56 AM |
| God | datainjector | A Brief History of Cprogramming.com | 746 | 12-22-2002 12:01 PM |
| Debugging mode selection during compile time | YALINI | C Programming | 1 | 09-03-2001 09:56 AM |