|
-
November 10th, 2010, 02:27 PM
#1
C++ style checker
What tool would you recommend to verify C++ source code styling? By C++ source code styling I mean, usage of indentation, spacing and newlines, howto format commenting, where to place bracket , naming of variable and classes etc.
Before post, make an effort yourself, try googling or search here.
When posting, give a proper description of your problem, include code* and error messages.
*All code should include code tags
-
November 10th, 2010, 02:42 PM
#2
Re: C++ style checker
If not using the IDE real-time lint then I'd check out this free one:
http://astyle.sourceforge.net/
It's a command line app. You input the source with param which style to output.
It has several templates or styles for c++ already defined. I think you can define your
own but I've always used the canned styles.
-
November 11th, 2010, 05:16 AM
#3
Re: C++ style checker
Thank you for the feedback.
We would like to have a tool that only checks a developers adherence to a set of rules and for instance blocks an attempt to check-in that file. The application you mentioned changes the layout for us which we do not need at this moment.
Before post, make an effort yourself, try googling or search here.
When posting, give a proper description of your problem, include code* and error messages.
*All code should include code tags
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|