經常使用C/C++ 字符串處理總結

1.基礎函數 輸入輸出:cin,cout,getchar,gets,putchar,puts,printf,scanf 格式化: sprintf,sprintf_s,wsprintf,wsprintf_s,swprintf,swprintf_s  (請仔細比較這幾組函數的區別) 格式化值: %% -返回百分號 %b –返回二進制數 %c –返回與ASCII值相對應的字符 %d –帶有正負號的十進制
相關文章
相關標籤/搜索