All pastes #276882 Raw Edit

Niluje

public c v1 · immutable
·published 2006-12-12 19:40 UTC
rendered paste body
#include        <stdio.h>#include        <stdlib.h>#define         PATHMAX     128int     main(void){    char    path[PATHMAX];    char    bin[NB_BITS_MAX];    char     c;    int     i;    FILE    *fp, *fo; /*   printf("Entrer le chemin de votre fichier : ");    getstring(path);    putstring(path);*/    fp = fopen("pinball.mid", "rb");    if ( ( fp != NULL ) )    {                while ((c = fgetc(fp)) != EOF)        {            if ( c ==  0x4D)                printf("%c\n", c);        }    }        else            printf("Fichier inexistant\n");    return  EXIT_SUCCESS;}