Why we should use ASCII in programming?

  ascii, c++, char

๐Ÿ˜Š
Today I was learning c++ that I found out with this code :

#include <iostream>
using namespace std;
int main()
{
int num;
cin >> num;
cout << char(num);
return 0;
}

We can convert numbers to characters
and I learned that we have ASCII standard ๐Ÿ‘‡๐Ÿป๐Ÿ‘‡๐Ÿป

http://www.asciitable.com/

And then my question is WHY WE SHOULD USE ASCII in our code or programming ? ๐Ÿคจ
Can you tell me a example ? ๐Ÿค”
Thanks guys ๐Ÿฅฐ

Source: Windows Questions C++

LEAVE A COMMENT