Search:

Type: Posts; User: xianjianwuhen

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    2,041

    Yes, Borland C++ for DOS. Program of quicksort...

    Yes, Borland C++ for DOS. Program of quicksort and there seem to be something wrong with the recursion.
  2. Replies
    4
    Views
    2,041

    What cause NTVDM CPU error?

    When I run my program, NTVDM CPU encountered an illegal instruction, why does this happen? CS:8eb0 IP:fd9c OP:8c fd 8c fd 98
  3. Replies
    9
    Views
    1,665

    I see... I am clear now, thank all of you for...

    I see... I am clear now, thank all of you for answering.
  4. Replies
    9
    Views
    1,665

    Why main should return something here?

    Why main should return something here?
  5. Replies
    9
    Views
    1,665

    I see...Thanks. But I wonder why this problem...

    I see...Thanks. But I wonder why this problem occurs. Since "enter" is interpreted as a escape character \n , it's not quite reasonable. However, I accept it now. Thank both of you again.
  6. Replies
    9
    Views
    1,665

    I don't think the value of EOF matters here. If...

    I don't think the value of EOF matters here. If you must know, it is -1.
    Have you tried this program on your computer?
  7. Replies
    9
    Views
    1,665

    How to terminate this program?

    When I run the following program, I don't know how to terminate, it always requires me to enter something...

    #include<stdio.h>
    void main()
    {
    int c=getchar();
    while(c!=EOF)
    {
    ...
Results 1 to 7 of 7