1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A very beginners question!

Discussion in 'C' started by sifeet, Nov 6, 2007.

  1. sifeet

    sifeet New Member

    Nov 5, 2007
    Likes Received:
    Trophy Points:
    I'm stuck in two exercises and need help.
    The first one is to write a code which prints out the ASCII-tabel. I have no clue on this question.
    The second one is to write a code which counts the characters used in a file. I can write a code which counts the number of characters in a row or in a text which is gotten from the terminal (e.x. via "getchar"). but I don't know how it would be with a file.

    Can someone plz help me with these two questions?
    tnx in advance.

Share This Page