C and C++ minimal examples. Asserts used wherever possible. Hello worlds for cool third party libraries and build systems. Cheatsheets, tutorials and mini-projects.
Go to file
2018-02-20 18:05:35 +00:00
boost REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
bullet REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
c C: split globals, C++: split static for classes 2018-01-15 07:58:29 +00:00
c-from-cpp gdb python API, split more C and C++ 2015-07-06 11:59:37 +02:00
cmake Cast operator overhaul 2017-12-09 13:23:26 +00:00
cpp Move make and scons in 2018-02-20 18:05:35 +00:00
cpp-from-c gdb python API, split more C and C++ 2015-07-06 11:59:37 +02:00
cuda bak 2017-05-19 20:47:04 +01:00
ffmpeg REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
flex-bison REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
fortran Split main.c further, add a separate test script 2015-06-12 18:29:21 +02:00
fortran-from-c No more // in C cheat. 2015-04-28 18:11:27 +02:00
frama-c Start frama-c 2015-08-24 09:57:51 +02:00
gcc matmul: play with alignment, attempt block mult, but it is slow so likely wrong 2017-03-16 09:02:53 +00:00
gdb gdb call 2018-02-13 01:19:51 +00:00
glibc bak 2017-08-25 09:11:35 +01:00
gsl REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
gtk REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
kde REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
lapack REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
linux REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
make Move make and scons in 2018-02-20 18:05:35 +00:00
opencl Explicit casts to shut g++ warnings and errors 2017-09-16 12:58:36 +01:00
opencv REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
opengl Improve opengl make 2017-08-25 09:52:46 +01:00
plplot REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
png png deallocate properly (credits to mgmalheiros), improve heat equation 2016-11-22 01:20:10 +00:00
posix wget: improve hang comment 2017-10-06 01:50:32 +01:00
qt REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
scons Move make and scons in 2018-02-20 18:05:35 +00:00
sdl cmake multi file recursive 2017-11-22 06:50:54 +00:00
shared-library Split setenv 2017-07-20 08:40:24 +01:00
swig REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
template REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
v4l2 REmove -y from apt-get install, it is destructive 2017-08-25 09:17:26 +01:00
x11 Start tons of small opengl examples 2016-03-18 22:08:20 +01:00
.gitignore vec_io can also take binary! 2017-04-19 09:17:51 +01:00
.travis.yml Try to fix travis by adding separate configure 2017-11-02 13:33:14 +00:00
bibliography.md Split glibc brk 2015-06-26 23:40:41 +02:00
build-systems.md OpenGL texture, POSIX benchmark 2016-04-29 11:56:43 +02:00
c_many.makefile Split main.c further, add a separate test script 2015-06-12 18:29:21 +02:00
c-vs-cpp.md Improve index 2016-05-18 10:21:52 +02:00
cflow.md OpenGL texture, POSIX benchmark 2016-04-29 11:56:43 +02:00
clang.md posix split execl 2015-07-27 17:07:47 +02:00
configure Add libncurses to deps 2017-11-18 14:12:31 +00:00
CONTRIBUTING.md Improve index 2015-04-20 22:53:33 +02:00
getting-started.md Split glibc brk 2015-06-26 23:40:41 +02:00
gprof.md gdb python API, split more C and C++ 2015-07-06 11:59:37 +02:00
linting-tools.md Start frama-c 2015-08-24 09:57:51 +02:00
Makefile_many c++17, structured bindings 2017-12-23 19:29:58 +00:00
Makefile_one Start tons of small opengl examples 2016-03-18 22:08:20 +01:00
perf.md gdb python API, split more C and C++ 2015-07-06 11:59:37 +02:00
README.md Move make and scons in 2018-02-20 18:05:35 +00:00
test Split main.c further, add a separate test script 2015-06-12 18:29:21 +02:00
TODO.md collision detection 2016-05-02 17:36:12 +02:00
Vagrantfile Remove submodule 2015-06-12 12:34:21 +02:00
valgrind.md gdb python API, split more C and C++ 2015-07-06 11:59:37 +02:00

C++ Cheat

Build Status

C and C++ 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. Introduction
    1. C vs C++
  4. Cross-language
    1. C from C++
    2. C++ from C
    3. Fortran from C
    4. SWIG
  5. Build systems
    1. make
    2. CMake
    3. SCons
  6. Analysis tools
    1. GDB
    2. cflow
    3. Linting tools
      1. Frama-C
    4. Profiling
      1. gprof
      2. Valgrind
      3. perf
  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
  11. Scientific
    1. Bullet physics
    2. CUDA
    3. Fortran
    4. GSL
    5. LAPACK
    6. OpenCL
    7. OpenCV
    8. PLplot
  12. CONTRIBUTING
  13. TODO
  14. Bibliography