Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
thread
//Title of this code #include <iostream> #include <thread> #include <chrono> using namespace std; void foo(){ cout << "fooo\n"; } int main() { thread th(foo); th.detach(); std::this_thread::sleep_for(std::chrono::seconds(2)); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
remove dublicates from string using recursion
Base File.cpp
XD
decode
fibonacci
Search a 2D Matrix
cache 内存消耗
Point on a ray--2133
CODE K
on_off
Please log in to post a comment.