Comment afficher ascii en C++

Résolu
FOX -  
Pacorabanix Messages postés 3248 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,
SVP COMMENT ECRIRE UN PROGRAMME EN C++ QUI AFFICHE LES CODES ASCII
MERCI

4 réponses

charif591 Messages postés 8 Date d'inscription   Statut Membre Dernière intervention   4
 
avec borland c ou turbo c tu peut faire ça :

/* programme : ascii1.c */

#include <stdio.h>
#include <stdio.h>

void main (void)
{
int i;

clrscr();

for(i=0; i<=255; i++)
{
putch(i); putch(' ');
}
getch();
}
2
Pacorabanix Messages postés 3248 Date d'inscription   Statut Membre Dernière intervention   663
 
c'est du C pas du C++.
0