Skip to content

IvanVnucec/cpp-best-practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 

Repository files navigation

C++ Best Practices

About

This repo contains list of C++ tools, coding standards and best practices with which I've encountered over the years.

List

Tools

  • cpplint
  • clang-tidy
    • Clang-based C++ “linter” tool.
    • extensible framework for diagnosing and fixing typical programming errors, like style violations, interface misuse, or bugs that can be deduced via static analysis.
    • provides a convenient interface for writing new checks.
  • ninja
    • Small build system with a focus on speed
    • Supports CMake's Ninja backend
  • CMake
    • Cross-platform family of tools designed to build, test and package software
  • CMake C++ Project template
    • Template for C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
  • Cppcheck
  • clang-format
    • C++ code formatter
    • Can be implemented in the Build server, Link
  • Clang indexer
  • GoogleTest
    • Google’s C++ testing and mocking framework.
  • grep.app
    • Search across a half million git repos
    • Very fast
  • Valgrind
    • Number of debugging and profiling tools
    • Detects memory-related errors common in C/C++
  • Google Benchmark
    • Benchmark C/C++ code snippets similar to unit tests
  • Ditto
    • Windows Clipboard manager
    • Helps with copy-paste-ing code
  • Everything
    • Locate files and folders by name instantly
  • Compiler Explorer
    • Lets you type code in one window and see the results of its compilation in another window
  • Wandbox
    • Run code trough the different compilers
  • C++ Library project with CMake
  • Conan package manager
    • The open source, decentralized and multi-platform package manager to create and share all your native binaries.
    • See the Conan introduction in the Knowledge base

Knowledge base

About

C++ Best Practices

Resources

Stars

Watchers

Forks