YouTube视频链接 C++的线程 本文是ChernoP62视频的学习笔记。 使用线程类的所有东西需要thread头文件,如下代码。 #include<iostream> #include<thread> void DoWork() { } int