A simple program that prints all the ascii characters? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

A simple program that prints all the ascii characters?

8th Apr 2017, 11:29 AM
eddy
2 Answers
8th Apr 2017, 3:15 PM
Hatsy Rei
Hatsy Rei - avatar
+ 4
for (int i=0: i <=255; i++){ cout <<i <<"-"<<(char) i; }
8th Apr 2017, 11:34 AM
เคฆเฅ‡เคตเฅ‡เค‚เคฆเฅเคฐ เคฎเคนเคพเคœเคจ (Devender)
เคฆเฅ‡เคตเฅ‡เค‚เคฆเฅเคฐ เคฎเคนเคพเคœเคจ (Devender) - avatar