CodeBlocks配置Openmp
Setting->compiler->Compiler settings->other Compiler options里输入-fopenmp
Setting->compiler->linker settings->other linker options里输入-lgomp -lpthread
————————————————
版权声明:本文为CSDN博主「18岁小白想成大牛」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_36584673/article/details/123464502