Code For Printing ASCII Table in C++

#include<iostream>
using namespace std;
void main()
{
for(int b=0;b<=255;b++)
{
cout<<"<<< Character >>> "<<(char)b<<" <<<No In Ascii Table >>> "<<b<<endl;
}
system("pause");
}

No comments:

Post a Comment