Skip to content

Opening book details…

Can I read C++ Style Guide for Variable Naming on EtoBox?

C++ Style Guide for Variable Naming by Diego Galue is a document available to read on EtoBox.

What is C++ Style Guide for Variable Naming about?

The document provides style guidelines for C++ code, including: 1. Use one variable per line and capitalize each word in multi-word variable names. Comments should appear next to variables. 2. Rather than deeply nested if statements, use if/else if statements without deep indentation. 3. Surround operators with spaces except for unary operators. 4. Follow consistent formatting for if, else, for, while, do, switch, and function statements. Use C++ style comments rather than C comments. 5. Choose descr

Author
Diego Galue
Language
EN