Linux下编译程序出错,求解释

2025-03-23 05:04:44
推荐回答(1个)
回答1:

运行的时候,后缀加上 -pthread
如 a.c -pthread
需要链接 pthread.h 才行