From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,80ae9f89712e54ee X-Google-Attributes: gidfee84,public X-Google-Thread: 1014db,80ae9f89712e54ee X-Google-Attributes: gid1014db,public From: The Amorphous Mass Subject: Re: printf-problem Date: 1996/01/17 Message-ID: #1/1 X-Deja-AN: 135795431 distribution: world references: <4dj4g6$t9f@sunsystem5.informatik.tu-muenchen.de> <17JAN199615080909@erich.triumf.ca> x-sender: robinson@black.weeg.uiowa.edu content-type: TEXT/PLAIN; charset=US-ASCII organization: University of Iowa, Iowa City, IA, USA mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.lang.c On 17 Jan 1996, P.Bennett wrote: > You have to tell printf() that you are giving it a long. try > printf("%ld"\n,zahl); or printf("%ld\n", zahl); :) /**James Robinson*********************** "If a fatal error occurs, the program should not be allowed to continue." -- Oracle Pro*C User's Guide *************james-robinson@uiowa.edu**/