Re: How to improve C skill?
- From: jaysome <jaysome@xxxxxxxxxxx>
- Date: Thu, 10 May 2007 23:39:57 -0700
On 10 May 2007 15:49:11 -0700, Dave Hansen <iddw@xxxxxxxxxxx> wrote:
On May 9, 9:57 pm, "weidong...@xxxxxxxxx" <weidong...@xxxxxxxxx>
wrote:
[snip]
3) Invest in Gimpel's PC-lint, _learn_ how to use it, _run_ all your
code through it, and _understand_ what it tells you (i.e., fix the
code, not the error). Awesome tool, and the error descriptions are
very instructive. www.gimpel.com
Excellent advice.
I've used PC-lint on C and C++ code and have found it invaluable. The
number of different target platforms/compilers I've used it for is in
the double-digit range, and I've never come across any
platforms/compilers where it didn't flag something of concern, and in
almost all cases flagged one or more plain and simple bugs.
PC-lint teaches you to become a better programmer, on top of finding
bugs at compile-time that would hopefully, but not necessarily, be
found at run-time. Its -w4 option is like a gcc -pedantic option on
steroids.
Best regards
--
jay
.
- References:
- How to improve C skill?
- From: weidongtom@xxxxxxxxx
- Re: How to improve C skill?
- From: Dave Hansen
- How to improve C skill?
- Prev by Date: Re: outtextxy is stopping floodfill
- Next by Date: Re: Not sure where this goes - question about software
- Previous by thread: Re: How to improve C skill?
- Next by thread: Re: Scanning USB devices and reading USB descriptors
- Index(es):