# studycode **Repository Path**: codechengzzc/studycode ## Basic Information - **Project Name**: studycode - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-02-23 - **Last Updated**: 2026-06-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Learning Code Repository This is a code repository for systematic learning of programming technologies, containing learning code and examples across multiple technical areas such as C language, C++, Linux system programming, data structures, and network programming. ## Project Structure ### C Language Fundamentals - `C/Day01` - Introduction to C language basics (syntax, functions) - `C/Day03` - Operators, bit operations - `C/Day04` - Control statements - `C/Day05` - Advanced functions - `C/Day06` - Arrays - `C/Day07` - Sorting algorithms - `C/Day08` - String operations - `C/Day09` - Structures and enums - `C/Day10` - Dynamic memory allocation - `C/Day11` - Advanced pointers - `C/Day12` - Linked lists - `C/Day15` - Algorithm problems ### Linux System Programming - `Linux/Day01-10` - File system operations - `Linux/Day11-15` - Processes and threads - `Linux/Day16-20` - Network programming - `Linux/Day21-25` - I/O multiplexing and advanced topics - `Linux/ThreadPool` - Thread pool implementation - `Linux/reactor/` - Reactor model implementation ### C++ Fundamentals - `cppBase/Day02-25` - Core C++ programming - `cppBase/Reactor/` - Reactor network library (v1-v5.1) - `cppBase/Thread/` - C++ threading programming - `cppBase/ThreadPool/` - Thread pool implementation - `cppBase/PC/` - Producer-consumer pattern - `cppBase/STL/` - STL usage examples ### Others - `DS/` - Data structure implementations - `json/` - JSON processing - `lua/` - Lua scripting learning - `workflow/` - Learning open-source workflow frameworks - `xmind/` - Mind maps of key concepts ## Key Technical Topics ### C Language - Basic syntax and data types - Functions and recursion - Arrays and pointers - String handling - Dynamic memory management - Linked list operations - File operations ### Linux System Programming - File system APIs (readdir, stat, chmod, etc.) - Process creation and management (fork, exec, wait) - Thread synchronization (mutex, condition variable, semaphore) - Signal handling - I/O multiplexing (select, poll, epoll) - Network programming (TCP/UDP sockets) - Thread pool implementation ### C++ - Classes and objects - Constructors and destructors - Copy constructor and assignment operator - Inheritance and polymorphism - Templates and generic programming - STL containers and algorithms - Function objects and lambdas - Smart pointers - Reactor model implementation ## Quick Start ### Compile and Run C Code ```bash cd C/Day01 gcc 01.c -o main ./main ``` ### Compile and Run C++ Code ```bash cd cppBase/Day02 g++ -std=c++11 01_test.cc -o main ./main ``` ### Linux System Programming ```bash cd Linux/Day01 gcc my_ls.c -o my_ls ./my_ls ``` ## Learning Recommendations 1. **Learn in Order**: Follow the Day numbering sequentially. 2. **Hands-on Practice**: Write and run every example yourself. 3. **Understand Principles**: Don’t just know how—it’s essential to know why. 4. **Combine Theory**: Supplement learning with relevant books and documentation. ## Related Documentation - [Linux Learning Notes](./Linux/note.md) - [C++ Learning Notes](./cppBase/note/cpp.md) - [SQL Learning Notes](./Linux/sql.md) - [MySQL Learning Notes](./mysql.md) - [GDB Debugging Guide](./Linux/gdb/) - [Makefile Tutorial](./Linux/makefile.md) - [CMake Tutorial](./Linux/cmake.md) ## License This project is intended solely for learning and communication purposes.