thread library is not working on c++ netbeans ide 16

70 views Asked by At

I was using thread on my netbeans ide 16 and it was giving error(main.cpp:14:4: error: 'thread' was not declared in this scope)

i tried adding -pthread and -lpthread in additional options but it didnt work.enter image description here

0

There are 0 answers