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
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