C++ Style Guidelines

A coding standard for C++ software developers and maintainers

Nathan Myers

7 January 2000


Introduction

Because C++ is a markedly different language from C, good C++ code looks markedly different from good C code. Differences from good C style follow from these differences:

Rules below are based on some broad principles: