README.md
    #include<thread>
    #include<bits/stdc++.h>
    using namespace std;
    
    inline void solve() {
    	for (int i = 0; i < 20; ++i)cout << "fffff\n";
    	cout << flush;
    }
    inline void solve2() {
    	for (int i = 0; i < 20; ++i)cout << "eeeee" << endl;
    	cout << flush;
    }
    int main() {
    	thread t1(solve);
    	thread t2(solve2);
    	th1.join(); // 必须将线程join或者detach 等待子线程结束主进程才可以退出
    	th2.join();
    	cout<<"up is main";
    	return 0;
    }
    

    项目简介

    经济

    发行版本 1

    ChatGPT Template With Vue

    全部发行版

    贡献者 5

    inscode @inscode
    Q qq_33465734 @qq_33465734
    6 643fea67aa93e810cdda7f81 @643fea67aa93e810cdda7f81
    6 64104061f23fda247c679fa8 @64104061f23fda247c679fa8
    6 622eda98dfef6c4fdb84ccca @622eda98dfef6c4fdb84ccca

    开发语言

    • C++ 89.0 %
    • C 10.9 %
    • Vue 0.1 %
    • JavaScript 0.0 %
    • Objective-C 0.0 %