cppcheatsheet icon indicating copy to clipboard operation
cppcheatsheet copied to clipboard

C/C++ Cheat Sheet

Documentation Status

.. image:: https://travis-ci.org/crazyguitar/cppcheatsheet.svg?branch=master :target: https://travis-ci.org/crazyguitar/cppcheatsheet

.. image:: https://img.shields.io/badge/doc-pdf-blue :target: https://cppcheatsheet.readthedocs.io/_/downloads/en/latest/pdf/

C Cheat Sheet

  • From Scratch <docs/notes/c_basic.rst>_
  • GNU C Extension <docs/notes/c_gnuext.rst>_
  • Macro <docs/notes/c_macro.rst>_
  • Makefile <docs/notes/c_make.rst>_
  • X86 Assembly <docs/notes/asm_basic.rst>_

Modern C++ Cheat Sheet

  • Modern C++ From Scratch <docs/notes/cpp_basic.rst>_
  • Constructor <docs/notes/cpp_constructor.rst>_
  • Initialization <docs/notes/cpp_initialization.rst>_
  • String <docs/notes/cpp_string.rst>_
  • Container <docs/notes/cpp_container.rst>_
  • Iterator <docs/notes/cpp_iterator.rst>_
  • Template <docs/notes/cpp_template.rst>_
  • Variadic <docs/notes/cpp_variadic.rst>_
  • Forwarding <docs/notes/cpp_forwarding.rst>_
  • Casting <docs/notes/cpp_casting.rst>_
  • Constexpr <docs/notes/cpp_constexpr.rst>_
  • Lambda <docs/notes/cpp_lambda.rst>_
  • Time <docs/notes/cpp_time.rst>_
  • Smart Pointer <docs/notes/cpp_smartpointers.rst>_
  • Return Value Optimization <docs/notes/cpp_rvo.rst>_
  • Algorithm <docs/notes/cpp_algorithm.rst>_
  • Coroutine <docs/notes/cpp_coroutine.rst>_
  • Ranges <docs/notes/cpp_ranges.rst>_

System Programming Cheat Sheet

  • File I/O <docs/notes/c_file.rst>_
  • Signal <docs/notes/c_signal.rst>_
  • Socket <docs/notes/c_socket.rst>_
  • Concurrency <docs/notes/c_concurrency.rst>_

CMake

  • CMake <docs/notes/cmake_basic.rst>_
  • Package <docs/notes/cmake_package.rst>_
  • External Project <docs/notes/cmake_external.rst>_

Shell

  • Bash From Scratch <docs/notes/bash_basic.rst>_
  • Bash Date <docs/notes/bash_date.rst>_
  • Bash Find <docs/notes/bash_find.rst>_
  • Bash Regular Expression <docs/notes/bash_re.rst>_
  • Operating System <docs/notes/bash_os.rst>_

GNU Debugger

  • GDB <docs/notes/gdb_debug.rst>_

Systemd

  • Systemd <docs/notes/systemd.rst>_