c++ code review tool

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jeff_rowa
    New Member
    • Aug 2006
    • 16

    c++ code review tool

    Hi guyz,
    Do you have any suggestions for a good and free c++ code review tool.
    Regards,
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by jeff_rowa
    Hi guyz,
    Do you have any suggestions for a good and free c++ code review tool.
    Regards,
    Jeff-

    What do you mean by 'review'? If you are just trying to examine the code, you can open .cpp files in any text editor - in Windows if you right-click and select 'Open With' and then Notepad, Textpad, or your preferred editor.

    If you are looking to write and compile some of your own, it will depend on your operating system. I personally use the GNU C Compiler in Linux. If you like the way GCC looks, and you run Windows, I would suggest Cygwin, which can emulate a Linux environment in Windows.

    Comment

    • jeff_rowa
      New Member
      • Aug 2006
      • 16

      #3
      Originally posted by sicarie
      Jeff-

      What do you mean by 'review'? If you are just trying to examine the code, you can open .cpp files in any text editor - in Windows if you right-click and select 'Open With' and then Notepad, Textpad, or your preferred editor.

      If you are looking to write and compile some of your own, it will depend on your operating system. I personally use the GNU C Compiler in Linux. If you like the way GCC looks, and you run Windows, I would suggest Cygwin, which can emulate a Linux environment in Windows.
      hi, tnx for the reply, well I meant a tool which review your code so for instance you can find if you have any unused variables or uninitialized variables or even better if you can define your own rules.

      Comment

      • kvbreddy
        New Member
        • Feb 2007
        • 23

        #4
        In the linux environment, if u compile the c++ code using -W and -Wall flags , u will get solution for ur requirement.

        Comment

        • jeff_rowa
          New Member
          • Aug 2006
          • 16

          #5
          Originally posted by kvbreddy
          In the linux environment, if u compile the c++ code using -W and -Wall flags , u will get solution for ur requirement.
          well I use Windows XP and VS2005 and I don't have any problem about compiling or linking my application, all I want is a tool which automatically reviews the code based on some rules and shows me for instance if I have any unused variable or anything like that

          Comment

          Working...