diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000000000000000000000000000000000000..ecf0fed2eee433f86463bff3ab61e52f141ff1af --- /dev/null +++ b/README.en.md @@ -0,0 +1,48 @@ +# AlgorithmC4Wu + +This project aims to provide developers learning C++ and algorithms with a comprehensive set of tutorials and sample code to quickly master the C++ programming language and its applications in data structures. + +## Folder Structure + +- **C++ Migration Tutorials/**: Contains tutorials ranging from basic to advanced levels of the C++ language, suitable for learners at different stages. +- **Fundamental Data Structures Tutorials/**: Offers explanations of commonly used data structures along with C++ implementation examples. + +## Usage Instructions + +### Method 1: Using Batch Scripts (Recommended) +It is recommended to use batch scripts to compile and run the example programs with a single click, simplifying the operational process. + +### Method 2: Manual Compilation and Execution +For users who wish to gain a deeper understanding of the compilation process, each example program can be manually compiled and executed using a compiler. + +## Learning Recommendations + +### Learning Sequence +It is recommended to follow the learning order below to progressively master C++ and data structures: +1. Hello World Comparison (`hello_world_comparison.cpp`) +2. String Handling Comparison (`string_comparison.cpp`) +3. Object-Oriented Programming (`oop_demo.cpp`) +4. STL Standard Library (`stl_demo.cpp`) +5. Universal Header File (`universal_header_demo.cpp`) +6. Array Demonstration (`array_demo.cpp`) +7. Stack Demonstration (`stack_demo.cpp`) +8. Queue Demonstration (`queue_demo.cpp`) +9. Hash Table Demonstration (`hashtable_demo.cpp`) +10. Comprehensive Demonstration (`comprehensive_demo.cpp`) + +## Frequently Asked Questions + +### Q: What should I do if errors occur during compilation? +Check whether your compiler version supports the C++ standard and ensure that the code files have not been modified, causing syntax errors. + +### Q: How can I resolve乱码 (garbled characters) when running the .bat file? +Try changing the encoding format of the batch file to UTF-8 or ANSI to ensure consistency with the system's default encoding. + +### Q: How can I resolve乱码 (garbled characters) when running the program? +Before running the program, ensure that the encoding setting of the terminal or console is correct, typically UTF-8. + +### Q: How can I modify and extend these demonstration programs? +All example code is open source, and modifications and extensions are welcome based on personal needs. It is recommended to follow the existing code style and structure. + +## Technical Support +If you encounter any issues during your learning process, feel free to submit an Issue or contact the project maintainer for assistance. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..bcdd646f28b89cfbb74eb7a8e82147fe056c7dc0 --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# AlgorithmC4Wu + +本项目旨在为学习C++和算法的开发者提供一套全面的教程和示例代码,帮助快速掌握C++编程语言及其在数据结构中的应用。 + +## 文件夹结构 + +- **C++迁移教程/**: 包含C++语言的基础到高级教程,适合不同层次的学习者。 +- **数据结构基础教程/**: 提供常用数据结构的讲解和C++实现示例。 + +## 使用方法 + +### 方法1:使用批处理脚本(推荐) +推荐使用批处理脚本一键编译并运行示例程序,简化操作流程。 + +### 方法2:手动编译和运行 +对于希望深入了解编译过程的用户,可以手动使用编译器逐个编译并运行每个示例程序。 + +## 学习建议 + +### 学习顺序 +建议按照以下顺序学习,以循序渐进地掌握C++和数据结构: +1. Hello World 对比 (`hello_world_comparison.cpp`) +2. 字符串处理对比 (`string_comparison.cpp`) +3. 面向对象编程 (`oop_demo.cpp`) +4. STL标准库 (`stl_demo.cpp`) +5. 万能头文件 (`universal_header_demo.cpp`) +6. 数组演示 (`array_demo.cpp`) +7. 栈演示 (`stack_demo.cpp`) +8. 队列演示 (`queue_demo.cpp`) +9. 哈希表演示 (`hashtable_demo.cpp`) +10. 综合演示 (`comprehensive_demo.cpp`) + +## 常见问题 + +### Q: 编译时出现错误怎么办? +请检查编译器版本是否支持C++标准,确保代码文件未被修改导致语法错误。 + +### Q: bat文件运行时出现乱码怎么办? +尝试修改批处理文件的编码格式为UTF-8或ANSI,确保与系统默认编码一致。 + +### Q: 程序运行时出现乱码怎么办? +运行程序前,请确保终端或控制台的编码设置正确,通常为UTF-8。 + +### Q: 如何修改和扩展这些演示程序? +所有示例代码均开放源码,欢迎根据个人需求进行修改和扩展,建议遵循原有代码风格和结构。 + +## 技术支持 +如在学习过程中遇到问题,欢迎提交Issue或联系项目维护者获取帮助。 \ No newline at end of file