Search:

Type: Posts; User: PlanetCoder

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,702

    alternative for getch()

    I read somewhere on the forum that getch() is not standard....so what is its standard equivalent?

    Thanks
  2. Replies
    12
    Views
    2,568

    Use something like: char name1[20], name2[20],...

    Use something like:

    char name1[20], name2[20], pass1[20], pass2[20];instead of

    char name1, name2, pass1, pass2;
  3. Replies
    8
    Views
    1,095

    Zero-length lines

    In Ch.1 of K&R's book it's mentioned:



    But what if a line doesn't have any character, and the EOF follows it? Isn't it a zero-length line?
  4. Replies
    4
    Views
    2,158

    Meaning of backspace

    Exercise 1-10 in K&R's book states:



    My question is: How can the input have a backspace?

    Thanks in advance.
Results 1 to 4 of 4