官方风格指南的链接 [英] Links to official style guides

查看:102
本文介绍了官方风格指南的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C ++有几种类型的样式:MFC,Boost,Google等。我想检查这些样式,并确定哪一个最适合我的项目,但我想从官方样式指南中阅读。有没有人有他们通常使用的官方指南?

C++ has several types of styles: MFC, Boost, Google, etc. I would like to examine these styles and determine which one is best for my projects, but I want to read from the official style guidebook. Does anyone have an official guide that they typically use?

这里是我发现的两个。我打赌还有更多:

Here are two that I found. I bet there are more:

  • http://google-styleguide.googlecode.com/svn/trunk/cppguide.html
  • http://www.boost.org/development/requirements.html

注意:这不是关于哪种风格最好的讨论...只是一个人们目前使用的官方样式指南的呼吁。请勿抨击您不喜欢的其他样式指南。

Note: This is NOT a discussion about which style is best... only a call for official style guides that people currently use. Please refrain from bashing other style guides that you don't like.

侧面问题:有一个很好的工具,可以检查源代码,并告诉它是否匹配给定的样式指南?

Side question: Is there a good tool that can examine source code and tell if it matches a given style guide?

推荐答案

不是编码指南本身,但我觉得这很有用: Bjarne Stroustrup的C ++风格和技巧常见问题

Not a Coding Guideline per se, but I find this mighty useful: Bjarne Stroustrup's C++ Style and Technique FAQ

这篇关于官方风格指南的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆