To do this, you will need a static code analysis tool for C ++ with a real-time plug-in for VS2005. Unfortunately, I do not know of any open source static code analyzer that connect to VS2005, but there are some commercial ones. One such product that has been well received is Riverblade Visual Lint .
All in all, Googling's “Visual C ++ Visual Code Analysis” analysis is a good place to start hunting for this type of software.
MattK source
share