execution out of order ?

Conor P. Cahill cpcahil at virtech.uucp
Sat Jul 21 12:48:17 AEST 1990


In article <6732 at helios.TAMU.EDU> jdm5548 at diamond.tamu.edu (James Darrell McCauley) writes:
>I'm an reposting this question because, as 1 of the 2 responses
>mentioned, I may have not made myself quite clear.
>Here's the code fragment:

When you post a message with a code fragment, post the entire fragment that
exhibits the indicated behavior.  I ran you fragment (deleting the elipsisi)
and it acted as on would expect.  I don't know what the missing code is,
but it probably has something to do with the problem.

>	main()
>	{
>  	  ...
>          getchar();  /* stdin, as well as stdout, are console */
>          printf("first line\n");
>          ...  /* calculations - no I/O */
>          printf("second line\n");
>          getchar();
>          printf("third line\n");
>        }

So show us the missing code or post an exact copy of the code that
presents the problem.


-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.lang.c mailing list