Comment afficher ascii en C++

Résolu
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. 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. c'est du C pas du C++.
      0