Skip to content

MOVING TO: https://github.com/cirosantilli/linux-kernel-module-cheat#userland-content SEE README. C, C++, POSIX and Linux system programming minimal examples. Asserts used wherever possible. Hello worlds for cool third party libraries and build systems. Cheatsheets, tutorials and mini-projects. 移至:https://github.com/cirosantilli/linux-kernel-mod…

License

Notifications You must be signed in to change notification settings

cirosantilli/cpp-cheat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Cheat

This repo is moving to: https://github.com/cirosantilli/linux-kernel-module-cheat#userland-content

No major new features are intended to be added here.

This move unifies all my system programming content into one place, which makes it easier to maintain and discover, and immediately leads to more features being available due to better factoring, notably:

  • run tests in parallel due to more flexible Python build system
  • ability to build and run other CPU ISAs through emulation

This repo was written in a semi ad hoc way across several years, so it is a quality roller coaster, with old files crappy and new files less crappy. Only good or cleaned up examples will be migrated.

It is still early stages, and I'm not going to do the migration in one go now, but rather as I touch the examples.

However, since I use this repo often and give it a considerable importance, it is likely that everything that has value here will be moved sooner or later.

Old README

Build Status

C, C++, POSIX and Linux system programming minimal examples. Asserts used wherever possible. Hello worlds for cool third party libraries and build systems. Cheatsheets, tutorials and mini-projects.

Assembly Cheat contains lower level issues, like assembly, ELF and Binutils.

  1. Getting started
  2. Featured
    1. C
    2. C++
    3. POSIX: POSIX C API
    4. OpenGL
    5. GCC: GCC extensions
    6. Shared library
  3. Cross-language
    1. C from C++
    2. C++ from C
    3. Fortran from C
    4. SWIG
  4. Build systems
    1. make
    2. CMake
    3. SCons
  5. Analysis tools
    1. GDB
  6. GCC
    1. GCC -std= default
    2. GNU LD linker
      1. Incremental linking
      2. Fixed variable address
      3. gold linker benchmark
  7. Parsing
    1. Flex and Bison
  8. Media
    1. FFmpeg
    2. libpng
    3. v4l2
  9. Utility
    1. Boost
    2. glibc
    3. Linux
  10. GUI
    1. GTK
    2. KDE
    3. OpenGL
    4. Qt
    5. SDL
    6. X11
      1. X11 hello world
  11. Scientific
    1. Bullet physics
    2. CUDA
    3. Fortran
    4. GSL
    5. LAPACK
    6. OpenCL
    7. OpenCV
    8. PLplot
  12. CONTRIBUTING