목록SW Programming/C & C++ (1)
살아가면서 내가 알게 된 것들
visual studio 2017로 thread공부하는데 pthread는 win32용이 아니라 linux계열용이란다. 때문에 GCC라면 pthread를 쉽게 사용할 수 있지만 Visual Studio 2017라면 한가지 해줘야 한다. 방법은 아래에서 찾았다. https://stackoverflow.com/questions/48894212/visual-studio-2017-how-to-make-include-pthread-h-work 처음 찾은 방법은 아래 site인데 http://plming.tistory.com/62 오래되기도 했고 하기도 귀찮고 해서 다른 방법이 없나 찾다가 알게 된 방법이 아래 방법이다. Project -> Manage NuGet Packages... Browse -> pthread..
SW Programming/C & C++
2019. 1. 6. 22:03