18 Feb, 2009, cbunting wrote in the 1st comment:
Votes: 0
Throughout the years, I've come across different tools on windows that have been pretty helpful when it comes to developing on muds.

cppcheck (great little tool!)

Cppcheck is a programming tool for statically checking C programs
and C++ programs for security vulnerabilities and coding mistakes.
Most common errors it finds are memory leaks within a function range.

It has found 20 confirmed and fixed bugs in the Linux kernel[1]. And
many more from other open source projects.

Cppcheck is free software released under the terms of the GNU General
Public License. It is written in C++. The project is hosted on SourceForge.net.

Again, you can run this from the command line or use a .bat file from your main mud directory. One level up from your source code.

cppcheck ./src/ > cppchecklog.txt


Replacement for indent; (Artistic Style)

I like indent but I could never get my code formatted the way that I liked. Indent always seems to break the wrong long lines. I was able to get a format that I liked, You can try it and see what you think.

Make a backup of your source code and then download and copy astyle.exe to your new source directory. From the command line or from a .bat file, use this;

astyle –style=ansi -c -b -S -w -o -O -n *.c *.h

Hope you find these useful,