C++ setbase 无效

C++ setbase 无效,第1张

setbase 流 *** 纵函数只适用于8、10、16这三个数字,对于其他的数字,则为将其视为0,即默认设置(10)

  • the value 16 sets basefield to std::ios_base::hex
  • the value 8 sets std::ios_base::oct
  • the value 10 sets std::ios_base::dec.

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/1323935.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-06-12
下一篇2022-06-12

发表评论

登录后才能评论

评论列表(0条)

    保存