#include#include int main (){ wchar_t c; int i=0; wchar_t str[] = L"Example sentence to test iswblank\n"; while (str[i]) { c = str[i]; if (iswblank(c)) c = L'\n'; putwchar (c); i++; } return 0;}
输出
Examplesentencetotestiswblank
本文共 337 字,大约阅读时间需要 1 分钟。
#include#include int main (){ wchar_t c; int i=0; wchar_t str[] = L"Example sentence to test iswblank\n"; while (str[i]) { c = str[i]; if (iswblank(c)) c = L'\n'; putwchar (c); i++; } return 0;}
输出
Examplesentencetotestiswblank
转载于:https://www.cnblogs.com/sea-stream/p/10822832.html