I need a C++ code style checker.

  • Thread starter =?gb2312?B?zfW2rA==?=
  • Start date
?

=?gb2312?B?zfW2rA==?=

I need a C++ code style checker. Which is the best choice? free or for
fee.
 
1

1983ddd

I need a C++ code style checker. Which is the best choice? free or for
fee.
Why not saying CPP editor directly? Dev-C++ may be a good choice if
you are using Windows.
 
O

Ondra Holub

I need a C++ code style checker. Which is the best choice? free or for
fee.

Which is the best choice? Of course this one, which fits best your
requirements :)

I think you do not mean code formatting, it is easy with any good
editor and there are automatic formatters (for example astyle).

If you need more sophisticated checker, you should first of all turn
on all warnings (but be careful if you are using Microsoft compiler -
it produces many warnings on their own standard C++ library). Some
compilers may have other special flags.

You can compile your program with more compilers and on more
platforms, it helps to find some portability issues, but it is not
always possible.

You can make code review, but it is not automatic process.

As far as I know there is some checking from Parasoft, but it is not
cheap.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top