error: ‘thread’ is not a member of std code example
Example: error: ‘thread’ is not a member of std
#In Shell use -std flag and give the version you wanna use
g++ -std=c++17 hello.cpp
#In Shell use -std flag and give the version you wanna use
g++ -std=c++17 hello.cpp