Skip to content

Commit 387cdb4

Browse files
committed
update skill
Signed-off-by: chang-ning <spiderpower02@gmail.com>
1 parent 5ad4e55 commit 387cdb4

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

skills/cpp/SKILL.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: cpp
3-
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, 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.
3+
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.
44
---
55

66
# C/C++ Comprehensive Cheat Sheets (/cpp)
@@ -26,6 +26,9 @@ When a user asks a C/C++ question or wants to write C/C++ code:
2626

2727
## Coverage Areas
2828

29+
### C/C++ Interview Preparation
30+
**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.
31+
2932
### Modern C Programming (C11-C23)
3033
**Core Language:** Syntax, types, memory management, preprocessor macros
3134
**GNU Extensions:** Compiler-specific features and optimizations
@@ -78,6 +81,10 @@ For detailed information, I can access:
7881

7982
## Examples
8083

84+
### C/C++ Interview Prep
85+
- "What should I review for a C++ interview?" → Fetch https://cppcheatsheet.com/notes/interview/index.html and walk the reader through the topic groups
86+
- "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
87+
8188
### C/C++ Core
8289
- "How do smart pointers work?" → Fetch https://cppcheatsheet.com/notes/cpp/cpp_smartpointers.html and explain with the site's examples
8390
- "How does RAII work in C++?" → Fetch https://cppcheatsheet.com/notes/cpp/cpp_raii.html and explain with practical examples

skills/cpp/references/structure.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# C/C++ Topics Reference Map
22

3+
## C/C++ Interview Cheatsheet
4+
- [C/C++ Interview Cheatsheet](https://cppcheatsheet.com/notes/interview/index.html) - Curated interview questions, each deep-linked to the section that answers it
5+
36
## Modern C Programming
47
- [C Basics](https://cppcheatsheet.com/notes/c/c_basic.html) - Core C language features from C11 to C23
58
- [Memory](https://cppcheatsheet.com/notes/c/c_memory.html) - Memory management and allocation

0 commit comments

Comments
 (0)