By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,512 Members | 3,790 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,512 IT Pros & Developers. It's quick & easy.

I need a C++ code style checker.

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

Jul 24 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Jul 24, 9:14 am, <wangdo...@gmail.comwrote:
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.

Jul 24 '07 #2

P: n/a
On Jul 24, 2:18 pm, "1983...@gmail.com" <1983...@gmail.comwrote:
On Jul 24, 9:14 am, <wangdo...@gmail.comwrote: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.
Checker is a editor? When i use Java, there's lots of tools.

Jul 25 '07 #3

P: n/a
On 24 ec, 03:14, <wangdo...@gmail.comwrote:
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.

Jul 25 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.