Thread View: comp.std.c
1 messages
1 total messages
Started by ken Ken Yap
Fri, 24 Jun 1988 23:55
non-repeatable bug? [Re: nonportable code or incorrect compilers?]
Author: ken Ken Yap
Date: Fri, 24 Jun 1988 23:55
Date: Fri, 24 Jun 1988 23:55
25 lines
905 bytes
905 bytes
I can't repeat your problem. What OS version have you? What compilers?
Script started on Fri Jun 24 19:49:06 1988
cursa.cs.rochester.edu% cat y.c
#define DEFCONST 1.05
main()
{
int count = 800;
printf("count is %d, ", count);
count *= DEFCONST;
printf("now %d\n", count);
}
cursa.cs.rochester.edu% cc -o y y.c
cursa.cs.rochester.edu% ./y
count is 800, now 840
cursa.cs.rochester.edu%
script done on Fri Jun 24 19:49:30 1988
Cursa is a Sun 3/50 running SunOS 3.4. On a Vax 11/750 running BSD 4.3
it gives
count is 800, now 839
Ken
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads