24 lines
491 B
C++
24 lines
491 B
C++
/*
|
|
* Programme d'affichage De la table ASCII
|
|
* Par Florian Goussot
|
|
* BTS CIEL 2e année
|
|
* Fait le 08/10/2024 à Nancy
|
|
*/
|
|
#include <stdio.h>
|
|
#include <conio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main(void) {
|
|
do {
|
|
system("cls");
|
|
printf_s("\t\t\tAffichage de la table ASCII\n");
|
|
for (int i = 15; i < 255; i++) {
|
|
printf_s("\t%c : %3i\t", char(i), i);
|
|
if (i % 6 == 0) {
|
|
printf_s("\n");
|
|
}
|
|
}
|
|
printf_s("\n\nAppuyez sur Echap pour quitter...");
|
|
} while (_getch() != 27);
|
|
return 0;
|
|
} |