gpt4 book ai didi

visual-studio-code - 为什么我的输出末尾有 % 符号?

转载 作者:行者123 更新时间:2023-12-02 18:55:17 25 4
gpt4 key购买 nike

每次我在输出结束时得到这个符号。这只发生在 VS Code 中。

enter image description here

最佳答案

这意味着程序在最后一行输出后没有打印换行符就退出了。您可以将其更改为以下内容,它应该会消失:

cout << "roshan\n";

关于visual-studio-code - 为什么我的输出末尾有 % 符号?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66240714/

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