[comp.sys.atari.st.tech] Help with Lattice C v.5

heavy@zip.eecs.umich.edu (Richard Scott Hall) (03/17/91)

Can anyone with Lattice C v.5 tell me why this won't
compile and link:

#include <stdio.h>

void main(void)
{
   char str[50];
   int num;

   num = 10;

   sprintf(str,"%10d",num);

   printf("%s\n",str);
   scanf("%s",str);
}

My compiler options are:

   -b1 -d0 -fl -fm -m0 -mt -r1 -rs -t

Any help would be appreciated.

Richard Hall
University of Michigan

-- 

Standard disclaimer:  I am not me, I am who you think you are...
                      so don't blame me.