User profile: Moschops

User info
User name:Moschops
Number of posts:6845
Latest posts:

endless loop with thread
The main function will carry on after creating the thread named t1. Do the other stuff in the main f...

endless loop with thread
If it's meant to run forever anyway, why bother waiting for it? Just let it run while your main thre...

endless loop with thread
[b]join[/b] will wait for the thread to finish. If the thread is designed to never end, [b]join[/b] ...

String to int/float
Converting a string to an int: [code]int x = std::stoi(input_string);[/code] This will throw an ex...

Issue with converting doubles to strings
What did it display? What did you want it to display? As an aside, do not use a double for this. A...