我有許多包含一個#include「my.hpp」我想把它移到每個文件成爲最後的包括這樣的.cpp和.HPP文件:我該如何重新排列C頭文件中的包含?
電流:
#include "my.hpp"
#include "foo.hpp"
#include "bar.hpp"
或
#include "whatever.hpp"
#include "my.hpp"
#include "bar.hpp"
需要:
#include "whatever.hpp"
#include "something.hpp"
#include "my.hpp"
謝謝!