Comment afficher ascii en C++

Résolu
FOX -  
Pacorabanix Messages postés 4122 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,
SVP COMMENT ECRIRE UN PROGRAMME EN C++ QUI AFFICHE LES CODES ASCII
MERCI
Configuration: Windows XP
Internet Explorer 6.0

4 réponses

  1. charif591 Messages postés 8 Statut Membre 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
    1. Pacorabanix Messages postés 4122 Date d'inscription   Statut Membre Dernière intervention   663
       
      c'est du C pas du C++.
      0