Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一长串私有和共享变量。如何写多行?我在这里重复这个问题,只是因为stackoverflow不会让我提交这个问题。
编译器在预处理后解释编译指示,因此您可以使用正常的行继续机制:
#pragma omp parallel
可以变成:
#pragma \ omp \ parallel