Search:

Type: Posts; User: c99tutorial

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    4,301

    If you are running from the command-line, just...

    If you are running from the command-line, just type


    foo < bar



    Which means to run the program foo with bar as input.

    If you're using an IDE like Turbo C then there may be a...
  2. Replies
    7
    Views
    4,301

    I wonder why people use getch() at the end of a...

    I wonder why people use getch() at the end of a program. I guess its to avoid that the terminal window disappears at the end. If you want to do it using only standard functions, then here is an...
  3. Replies
    7
    Views
    4,301

    As was mentioned CTRL-Z and CTRL-D are the most...

    As was mentioned CTRL-Z and CTRL-D are the most common methods of signalling EOF from the keyboard. Another way to signal EOF is to do so implicitly: run the program with input from a file using a...
Results 1 to 3 of 3