Problem with Lattice C 2.15

Simon Shapiro simon at simon_pc.UUCP
Fri Feb 28 14:50:09 AEST 1986


I need help with the following 'program':

#include <stdio.h>

main()
{
	double	test;
	test = 1234567.981;
	printf("Test of double value %7.2f\n", test);
}

It runs fine on SV but produces the line "...value 7.2f" when compiled
on a PC clone with Lattice C version 2.15.  Am I doing something wrong
or is this a bug?  I tried the same with sprintf() but the same results.
Any mailed help will be greatly appreciated.

Simon Shapiro (voice = +1 415 933 9468)


...ihnp4!quantel!lll-crg!lll-lcc!simon_pc!simon



More information about the Comp.sources.bugs mailing list