Skip to content

Instantly share code, notes, and snippets.

@geoorgeous
Last active February 18, 2020 10:49
Show Gist options
  • Save geoorgeous/255405122156894f88b3aae7176ad5a1 to your computer and use it in GitHub Desktop.
Save geoorgeous/255405122156894f88b3aae7176ad5a1 to your computer and use it in GitHub Desktop.
An description of the coding standards I use for my C++ projects.

C++ Coding Standards

Naming Conventions

Variables

int thisIsALocalVairable

bool m_classMemberVariable

static char s_classStaticVariable

Functions

void allFunctionsAreCamelCase()

Classes

class AllClassesArePascalCase

Namespaces

namespace hello::world {}

Classes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment