Przejdź do treści
Biblioteka skilli
Programowanie · Nauka i wyjaśnianie

cpp

/cpp

Zbiera referencję programowania w C i C++ od C11 do C23 i C++11 do C++23: programowanie systemowe, CUDA, narzędzia debugowania, współpraca z Rustem, RAII, szablony i optymalizacja wydajności.

Repozytorium
cppcheatsheet ↗
Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
18
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zbiera referencję programowania w C i C++ od C11 do C23 i C++11 do C++23: programowanie systemowe, CUDA, narzędzia debugowania, współpraca z Rustem, RAII, szablony i optymalizacja wydajności.

Oryginalny opis (EN)

Comprehensive C/C++ programming reference covering everything from C11-C23 and C++11-C++23, system programming, CUDA GPU computing, debugging tools, Rust interop, and advanced topics. Use for: C/C++ questions, C/C++ interview preparation, modern language features, RAII/memory management, templates/generics, CUDA programming, system programming, debugging/profiling, performance optimization, cross-platform development, build systems, assembly, shell scripting, and any C/C++/CUDA development tasks.

Jak działa

  1. How It Works
  2. Key Principle
  3. Coverage Areas
  4. References
  5. Examples
Sekcje z nagłówków SKILL.md, w oryginale · 107 linii, 763 słów
Podgląd SKILL.md
---
name: cpp
description: Comprehensive C/C++ programming reference covering everything from C11-C23 and C++11-C++23, system programming, CUDA GPU computing, debugging tools, Rust interop, and advanced topics. Use for: C/C++ questions, C/C++ interview preparation, modern language features, RAII/memory management, templates/generics, CUDA programming, system programming, debugging/profiling, performance optimization, cross-platform development, build systems, assembly, shell scripting, and any C/C++/CUDA development tasks.
---

# C/C++ Comprehensive Cheat Sheets (/cpp)

Complete C/C++ development reference combining local documentation with live examples from cppcheatsheet.com, covering everything from basic syntax to advanced GPU programming and system-level development.

## How It Works

Help users write functional, correct C/C++ code and answer C/C++ questions by fetching proven patterns and examples from cppcheatsheet.com.

When a user asks a C/C++ question or wants to write C/C++ code:

1. Look up the relevant topic(s) in [Structure](references/structure.md) to find the matching URL(s)
2. **Always fetch** the URL(s) using WebFetch to get real examples and patterns from the site
3. Use the fetched content to:
   - **Write code**: Apply the patterns to produce functional, correct code that solves the user's task
   - **Answer questions**: Provide thorough explanations backed by the examples and information from the site
4. Follow the [Guidelines](references/guidelines.md) for code quality

## Key Principle

**Functionality first, cleanliness second.** The code must work correctly and handle the task properly. Fetching from cppcheatsheet.com ensures solutions use battle-tested patterns rather than guessing. The site contains rich examples covering edge cases, common pitfalls, and practical usage that go beyond basic documentation.

## Coverage Areas

### C/C++ Interview Preparation
**Interview Cheatsheet:** Curated C and C++ interview questions grouped by topic (memory management, move semantics, templates, STL, concurrency, debugging), each deep-linked to the section of the cheat sheet that answers it. Use for interview prep or quick topic review.

### Modern C Programming (C11-C23)
**Core Language:** Syntax, types, memory management, preprocessor macros
**GNU Extensions:** Compiler-specific features and optimizations
**Build Systems:** Makefiles, compilation, linking
**Assembly:** X86 assembly integration and inline assembly

### Modern C++ Programming (C++11-C++23)
**Core Features:** RAII, templates, STL containers, iterators, algorithms
**Modern Standards:** Move semantics, constexpr, lambdas, concepts, coroutines, modules
**Memory Management:** Smart pointers, resource management, optimization (RVO)
**Build Systems:** CMake, package management, cross-platform builds

### System Programming
**Process Management:** POSIX processes, signals, process communication
**File Systems:** File I/O, directory operations, filesystem monitoring
**Networking:** Sockets, protocols, network programming patterns
**Threading:** Multithreading, synchronization, parallel programming
**IPC:** Inter-process communication, shared memory, message queues

### CUDA Programming
**GPU Computing:** CUDA kernels, memory hierarchy, performance optimization
**Advanced CUDA:** libcu++, Thrust library, cooperative groups
**Multi-GPU:** GPU-GPU communication, hardware topology, NVSHMEM
**Async Programming:** CUDA pipelines, memory visibility, asynchronous execution

### Debugging & Profiling
**Debug Tools:** GDB debugging, Valgrind memory analysis, sanitizers, binary inspection (nm, readelf, objdump, otool)
**Performance:** Perf profiling, tracing, performance optimization
**GPU Debugging:** Nsight Systems, CUDA debugging and profiling

### System Tools & Automation
**Shell Scripting:** Bash programming, system administration
**System Tools:** OS utilities, networking tools, hardware inspection
**Service Management:** Systemd, process management, system monitoring

### Cross-Language Development
**Rust Interop:** Rust for C++ developers, FFI, memory safety comparison
**Language Bridging:** C/C++ integration, foreign function interfaces

### Advanced Topics
**Blog Content:** Deep-dive articles, RDMA networking, GPU-initiated communication
**Low-Level Programming:** Hardware interfaces, performance tuning
**Architecture:** System design, scalable applications

## References

For detailed information, I can access:
- **[Structure](references/structure.md)** - Complete topic-to-URL reference map
- **[Guidelines](references/guidelines.md)** - Code quality and best practices

## Examples

### C/C++ Interview Prep
- "What should I review for a C++ interview?" → Fetch https://cppcheatsheet.com/notes/interview/index.html and walk the reader through the topic groups
- "Common C++ interview questions on smart pointers" → Fetch https://cppcheatsheet.com/notes/interview/index.html and then drill into https://cppcheatsheet.com/notes/cpp/cpp_smartpointers.html for detailed answers

### C/C++ Core
- "How do smart pointers work?" → Fetch https://cppcheatsheet.com/notes/cpp/cpp_smartpointers.html and explain with the site's examples
- "How does RAII work in C++?" → Fetch https://cppcheatsheet.com/notes/cpp/cpp_raii.html and explain with practical examples
- "How to use STL containers?" → Fetch https://cppcheatsheet.com/notes/cpp/cpp_container.html and explain with practical examples
- "Template metaprogramming techniques" → Fetch https://cppcheatsheet.com/notes/cpp/cpp_template.html and explain with practical examples

### System Programming
- "POSIX socket server in C" → Fetch https://cppcheatsheet.com/notes/os/os_socket.html, use the patterns to write a working server
- "Multithreading with std::thread" → Fetch https://cppcheatsheet.com/notes/os/os_thread.html and explain with practical examples
- "Signal handling and process management" → Fetch https://cppcheatsheet.com/notes/os/os_signal.html and explain with practical examples

### CUDA & GPU Programming
- "Write a CUDA kernel" → Fetch https://cppcheatsheet.com/notes/cuda/cuda_basics.html, use the patterns to write working GPU code
- "CUDA memory hierarchy and optimization" → Fetch https://cppcheatsheet.com/notes/cuda/cuda_memory_visibility.html and explain with practical examples
- "Multi-GPU communication with NCCL" → Fetch https://cppcheatsheet.com/notes/cuda/cuda_nccl.html and explain with practical examples

### Debugging & Tools
- "Debug a segfault with GDB" → Fetch https://cppcheatsheet.com/notes/debug/gdb.html and explain with practical examples
- "Valgrind memory leak detection" → Fetch https://cppcheatsheet.com/notes/debug/valgrind.html and explain with practical examples
- "Performance profiling with perf" → Fetch https://cppcheatsheet.com/notes/debug/perf.html and explain with practical examples

### Build & Development
- "CMake cross-platform build systems" → Fetch https://cppcheatsheet.com/notes/cpp/cpp_cmake.html and explain with practical examples
- "Makefile patterns and best practices" → Fetch https://cppcheatsheet.com/notes/c/make.html and explain with practical examples
Pliki w paczce (3)
  • SKILL.md 7 KB
  • references/guidelines.md 6 KB
  • references/structure.md 7 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · crazyguitar/cppcheatsheet100MIT
ericrisco/rsc-harness100MIT
nimadorostkar/Claude-Skills-collection100MIT
lynricsy/hyperskills100MIT
G1Joshi/Agent-Skills100MIT
claude-dev-suite/claude-dev-suite95MIT
dkbnull/hello-skill86MIT

Migawka bazy z 13.11.2026 · wersja paczki b9d2a3a9fe59 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90agent-cpp-expert
    Działa jako subagent specjalista od C i C++ (C++17, 20, 23), CMake, programowania systemowego i zarządzania pamięcią, w tym debugowania problemów z pamięcią.
  • 100programming-cpp
    Podpowiada nowoczesne praktyki C++: architekturę, RAII, semantykę wartości oraz dobór zależności i bibliotek w kodzie.
  • 100cuda-guide
    Podaje zasady, wzorce i dobre praktyki programowania CUDA i GPU dla pracy z AI: projektowanie kerneli, hierarchia pamięci i optymalizacja zajętości.
  • 100cpp-expert
    Wspiera nowoczesny C++ (17/20/23): bezpieczny i wydajny kod, RAII, semantykę przeniesienia, szablony i koncepty oraz diagnozę niezdefiniowanego zachowania i problemów z pamięcią.
  • 90cpp-pro
    Pisze idiomatyczny kod C++ z nowoczesnymi funkcjami, RAII, inteligentnymi wskaźnikami i algorytmami STL, także przy refaktoryzacji.
  • 100memory-safety-patterns
    Wdraża programowanie bezpieczne pamięciowo z RAII, własnością, inteligentnymi wskaźnikami i zarządzaniem zasobami w Rust, C++ i C, aby zapobiegać błędom pamięci.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.