教小白精通编程

面向小白的编程教学博客

Pandoc将markdown转pdf,AI奋战十几个小时,最终战败,我也一天没有吃饭

Pandoc converted markdown to pdf. AI fought for more than ten hours and finally lost. I didn’t eat for a day.

Pandoc将markdown转pdf,AI奋战十几个小时,最终战败,我也一天没有吃饭 昨天,我满怀期待地召唤了ChatGPT、Grok和Deepseek这些AI小助手,希望它们能化身技术导师,指引我将一本书的众多Markdown文件华丽变身为一个精美的PDF文档。它们齐刷刷地推荐我使用Pandoc这个神器,还耐心地一步步教我如何操作,颇有种“指点迷津”的架势。 然而,理想很丰满,现实却...

我的编程教学资源

My teaching resources on programming

教学资源 youtube channel 频道: hwdong blog 博客: B站编程课程hw-dong 推荐 网易云课堂: 不推荐 我在udemy上的课程: 我在udemy上课程的学生人数一直在增长,由于udemy上的课程价格特别低,所以一直没有分享出来,现在分享出来: 算法设计与分析 C++版本数据结构 ...

VS code 配置现代C++ 环境

VS code configures a modern C++23 environment

https://code.visualstudio.com/docs/cpp/config-msvc Configure VS Code for Microsoft C++ Install Visual Studio Code. 安装 VS Code 的 C/C++ 扩展 Install the C/C++ extension for VS Code. You can inst...

现代C++编程实战:从入门到应用

Modern C++ programming practice: C++ from novice to application

Leanpub电子书网址 第0章 前言 第1章 C++介绍 第2章 变量和类型 第3章 运算符 第4章 语句 第5章 复合类型:数组、指针和引用 第6章 函 数 第7章 函数模板 第8章 类与对象 第9章 运算符重载 第10章 派生类 第11章 类模板 第12章 异常处理 第13章 移动语义与智能指针 第14章 标准库 第15章 元编程

算法设计与分析-教学大纲

algorithms design and analysis

hwdong算法设计与分析课程网站 一、算法设计与分析概述 算法设计与分析 什么是算法? 算法有什么用? 为什么要学习算法设计与分析? 算法设计:技术(设计模式)、艺术(创造性思维) 算法设计的策略(模式、技术):贪心法、分治法、动态规划、… 算法的表示(描述):自然语言、伪代码 ...

Python极简入门.md

A minimalist introduction to Python

强烈推荐:《python3从入门到实战》(电子工业出版社)可在京东、当当、淘宝等网站购买 Python 快速入门教程 (面向零基础,更详细版本) 目标: 让你快速了解 Python 的基本概念和语法,并能实际应用。 学会使用代码编辑器编写、运行和调试 Python 程序。 为你后续深入学习 Python 打下坚实的基础。 内容: Python 是什么?为什么选...

基于递归深度优先搜索(回溯法)求解迷宫问题,代码结合动画演示

Solve the maze problem based on recursive depth-first search (backtracking method), code combined with animation demonstration

基于递归深度优先搜索(回溯法)求解迷宫问题,代码结合动画演示

Markdown极简入门教程

Markdown minimalist introductory tutorial

[Markdown 极简入门教程 Markdown minimalist introductory tutorial](https://youtu.be/0JiKRyZHMW0) Markdown 基础教程 什么是 Markdown? 一种轻量级标记语言,用简单符号即可排版文档 ✅ 易读易写 ✅ 兼容纯文本 ✅ 支持转换为HTM...

'Placement new operator' and emplace_back() in C++

emplace_back() of vector is used to construct an element in-place at the end of the vector.

‘Placement new operator’ in C++ In C++, when you create an object using the ‘new’ keyword, the memory for the object is allocated on the heap, and the constructor is called to initialize the objec...

A tutorial for c++ std::accumulate

the solution for leetcode 2011 of 'Final Value of Variable After Performing Operations'

tutorial for std::accumulate and the solution for leetcode 2011 of “Final Value of Variable After Performing Operations” std::accumulate template< class InputIt, class T > T accumulate( Inp...