windows下数字以2进制打印

#include <cstdlib>

_itoa(num, buf, 2);

打印buf既是二进制

posted @ 2019-06-05 09:27  MoonXu  阅读(247)  评论(0编辑  收藏  举报