或操作实现数字转ASCII

版权声明:本文为博主原创文章,转载需标明出处。 https://blog.csdn.net/coderDogg/article/details/86373427
#include <iostream>
using namespace std; 
int main(){
	int a = 5;
	int b = 5 | 48;
	cout<<b<<endl;
} 

猜你喜欢

转载自blog.csdn.net/coderDogg/article/details/86373427