Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!decwrl!stanford.edu!msi.umn.edu!umeecs!heavy From: heavy@zip.eecs.umich.edu (Richard Scott Hall) Newsgroups: comp.sys.atari.st.tech Subject: Help with Lattice C v.5 Summary: I need help Keywords: Lattice C Message-ID: <1991Mar16.221424.10337@zip.eecs.umich.edu> Date: 16 Mar 91 22:14:24 GMT Distribution: all Organization: University of Michigan EECS Dept. Lines: 31 Can anyone with Lattice C v.5 tell me why this won't compile and link: #include 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.