Welcome Guest [Log In] [Register]
Welcome to NS Grey Wardens. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Who needs games
Topic Started: Jul 5 2017, 01:39 AM (21 Views)
WItchcraft and Sorcery
Member Avatar
Spam-Buddy
when you can just make silly threads?
Offline Profile Quote Top
 
Roavin
Member Avatar

Offline Profile Quote Top
 
WItchcraft and Sorcery
Member Avatar
Spam-Buddy
does string make a thread or does thread make a string?
Offline Profile Quote Top
 
Roavin
Member Avatar

um ... neither, though I suppose you could make alot of strings in a thread, like...

Code:
 

using namespace std;

thread t( []() {
vector<string> v;
for (int i = 0; i < 1000000; ++i)
v.push_back(to_string(i));
});
t.join();


"Roavin u nerd"
Offline Profile Quote Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Spam · Next Topic »
Add Reply