We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/cpp-best-practices/cppbestpractices/blob/master/03-Style.md
Projects and Files start with upper case (UpperCamelCase / PascalCase):
MyProject
HelloWorld.cpp
Types start with upper case (UpperCamelCase / PascalCase):
MyClass
Functions and variables start with lower case (lowerCamelCase):
myMethod()
string userName;
Constants are all upper case:
const double PI = 3.14159265358979323; const double EULER_NUMBER = 2.71828;
https://google.github.io/styleguide/cppguide.html#Naming
File Names
Filenames should be all lowercase and can include underscores (_) or dashes (-), prefer "_".
_
-
my_useful_class.cpp
Type Names
Type names start with a capital letter and have a capital letter for each new word, with no underscores.
MyExcitingClass
Variable Names
The names of variables (including function parameters) and data members are all lowercase, with underscores between words.
string table_name;
Function Names
Ordinarily, functions should start with a capital letter and have a capital letter for each new word.
DeleteUrl()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. Common C++ Naming Conventions
Projects and Files start with upper case (UpperCamelCase / PascalCase):
Types start with upper case (UpperCamelCase / PascalCase):
Functions and variables start with lower case (lowerCamelCase):
myMethod()
Constants are all upper case:
2. Google C++ Style Guide
File Names
Filenames should be all lowercase and can include underscores (
_
) or dashes (-
), prefer "_".Type Names
Type names start with a capital letter and have a capital letter for each new word, with no underscores.
Variable Names
The names of variables (including function parameters) and data members are all lowercase, with underscores between words.
Function Names
Ordinarily, functions should start with a capital letter and have a capital letter for each new word.
The text was updated successfully, but these errors were encountered: