From: "Bart van den Burg" Newsgroups: comp.os.msdos.djgpp Subject: Re: `return' with no value, in function returning non-void (was Re: Clearing screens) Date: Thu, 18 Oct 2001 22:19:16 +0200 Organization: XO Communications B.V. Lines: 29 Message-ID: <9qndbg$kfn$1@cyan.nl.gxn.net> References: <16a9b8d3 DOT 0110180325 DOT 4f2ff5e AT posting DOT google DOT com> <9qmfe4$iqt$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <9qmuod$fu2$1 AT cyan DOT nl DOT gxn DOT net> <9qn229$glu$1 AT cyan DOT nl DOT gxn DOT net> <9qn3hr$6pp$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <9qn4a1$he4$1 AT cyan DOT nl DOT gxn DOT net> NNTP-Posting-Host: asd-tel-ap01-d10-152.dial.freesurf.nl X-Trace: cyan.nl.gxn.net 1003436208 20983 62.100.9.152 (18 Oct 2001 20:16:48 GMT) X-Complaints-To: abuse AT freesurf DOT nl NNTP-Posting-Date: 18 Oct 2001 20:16:48 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com sizeof(int) == 4 Bart "A. Sinan Unur" wrote in message news:Xns913E8BEA0FF6FASINANUNUR AT 132 DOT 236 DOT 56 DOT 8... > "Bart van den Burg" wrote in > news:9qn4a1$he4$1 AT cyan DOT nl DOT gxn DOT net: > > "Hans-Bernhard Broeker" wrote in message > > news:9qn3hr$6pp$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE... > >> Bart van den Burg wrote: > >> > by the way > >> > the function returns a number larger than in integer can be: > >> > >> Nonsense. Integers can easily be larger then the 32767 which I guess > >> is the upper limit you have in mind --- welcome to the world outside > >> the tight limits of 16bitism :-) > > > > also standard int's ? > > why don't you do a sizeof(int) and/or inspect limits.h? > > sinan. > -- > -------------------------------- > A. Sinan Unur > http://www.unur.com/