在C++和Ncurses中显示%符号

jht*_*ong 0 c c++ ncurses

有谁知道如何%在基于ncurses的C++/C =程序中显示百分比字符?

我已经尝试使用\x25%,但他们没有工作.

Jos*_*eld 5

你应该能够逃脱%额外的%:

%%
Run Code Online (Sandbox Code Playgroud)