gpt4 book ai didi

c - 查看预处理器在做什么

转载 作者:太空狗 更新时间:2023-10-29 17:27:20 25 4
gpt4 key购买 nike

有没有办法在预处理器完成所有替换后查看您的代码的样子?

最佳答案

对于 gcc 只需使用 -E 开关

gcc -E

-E Stop after the preprocessing stage; do not run the compiler proper. The output is in the form of preprocessed source code, which is sent to the standard output.

关于c - 查看预处理器在做什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1719234/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com