Re: I have a problem in my study




qazwsx746@xxxxxxxx wrote:

I use operating systems of windows xp ,
and compiler is trubo c 3.0
when I input data,the following program can't be exited.
what happen to this program?
Is the wrong with the compiler?

I don't like the formatting of your code, but I can't see an obvious
fatal flaw.

With more braces (cos' I wanted to see what I was doing) and some
tidied indentation, it worked fine on my system.

A better explanation of what your problem was may help - do you mean
that if you just ran your program with no arguments, you couldn't exit
from it? If so, do you know what you need to type on your platform to
indicate EOF on stdin?

.



Relevant Pages

  • Re: I have a problem in my study
    ... and compiler is trubo c 3.0 ... Is the wrong with the compiler? ... void filecopy ... Well, first, if you know function main is int. ...
    (comp.lang.c)
  • Re: I have a problem in my study
    ... and compiler is trubo c 3.0 ... Is the wrong with the compiler? ... void filecopy ... Well, first, if you know function main is int. ...
    (comp.lang.c)
  • Re: I have a problem in my study
    ... and compiler is trubo c 3.0 ... Is the wrong with the compiler? ... void filecopy ... Well, first, if you know function main is int. ...
    (comp.lang.c)
  • I have a problem in my study
    ... I use operating systems of windows xp, ... and compiler is trubo c 3.0 ... Is the wrong with the compiler? ... void filecopy ...
    (comp.lang.c)
  • Re: Implausibility that we can be explained by evolution
    ... compiler error is wholly insufficient to understanding how to correct ... And thus a physical explanation cannot be ... following the laws of physics. ... The laws of physics don't tell you how to build a car. ...
    (talk.origins)