Official build of MinGW (that compiler Dev-C++ uses) has no support for standard library threads now.
You can use boost::thread
as a drop in replacement (API is similiar enough) or use Microsoft Visual C++, or try programming with g++ on Linux (this is what I have done recently, using a virtual machine).
1
solved How to enable C++ multithreading?