http_dec_test.c
author viric <viriketo@gmail.com>
Fri, 30 Mar 2012 18:54:55 +0200
changeset 31 2bcc08d0f1d8
parent 20 45798398f4c8
permissions -rw-r--r--
Fixing an error message
viric@20
     1
#include <stdio.h>
viric@20
     2
#include "dictre.h"
viric@20
     3
viric@20
     4
int main()
viric@20
     5
{
viric@20
     6
    char tmp[500];
viric@20
     7
    int c;
viric@20
     8
viric@20
     9
    do
viric@20
    10
    {
viric@20
    11
        c = http_getc(stdin);
viric@20
    12
        if (c < 0)
viric@20
    13
            break;
viric@20
    14
        putchar(c);
viric@20
    15
    } while (1);
viric@20
    16
viric@20
    17
    printf("\nLast char val: %i\n", c);
viric@20
    18
viric@20
    19
    return 0;
viric@20
    20
}