АК
Александр Кравченко
wsprintf(buf + len, L" %"); в результате добавляет только пробел, как добавить проценты к строке ?
пробовал также wsprintf(buf + len, L" \%");
пробовал также wsprintf(buf + len, L" \%");
Используйте %%
http://msdn.microsoft.com/en-us/library/windows/desktop/ms647550(v=vs.85).aspx
Выдержка:
Remark:
If a percent sign is followed by a character that has no meaning as a
format field, the character is not formatted (for example, %% produces a
single percent-sign character).