Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 01 Aug 2012 11:04:24 -0500 Message-ID: <50195386.1FF9@mindspring.com> Date: Wed, 01 Aug 2012 12:04:22 -0400 From: pete Reply-To: pfiland@mindspring.com Organization: PF X-Mailer: Mozilla 3.04Gold (WinNT; I) MIME-Version: 1.0 Newsgroups: comp.lang.c Subject: Re: floor() References: <5019226f$0$3111$ba620e4c@news.skynet.be> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 54 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 4.154.221.138 X-Trace: sv3-eIA9NAuNV0rthMAO04RGZXaiKQ8o+D4Lo7ekHpyZUjhKIk+DQFBHpn4qAPrL8wzwYONpFMJnQVvaoNt!rO/3oC/B6KT8KhZuvXjI9utQ4ZElfapwJwup6ntx2b0gtzKebbtjV07Rv//hd5YXHmtPa8QwDWcb!HwwQdja2PJ0= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2822 Xref: csiph.com comp.lang.c:24068 TheGunslinger wrote: > > On Wed, 01 Aug 2012 10:02:01 -0500, TheGunslinger > wrote: > > >On Wed, 01 Aug 2012 10:58:31 -0400, Eric Sosman > > wrote: > > > >>On 8/1/2012 10:49 AM, TheGunslinger wrote: > >>> > >>> I am assuming you are unfamiliar with some of the libraries. > >>> > >>> I would suggest a Google search on: C STL floor function > >> > >> First seven hits are for C++, eighth is for the mythical > >>language "C/C++", ninth is for C++, tenth is a pediatrician. > >> > >>> I am guessing you haven't added this library > >>> which defines the floor > >>> function: > >>> > >>> #include > >> > >> I'm confident you're trying to help, but you seem not to > >>have noticed that the question was about C, not about C++. In > >>particular, there's no header in C. > > > > > >With all due respect, you apparently did not notice this is a "C" > >forum, and should have been posted in a "C++" forum then... > > > >MJR > > That said, I am fully aware that that this is a "C" forum, and as > indicated in my response, I searched with "C" as a parameter. > > One of the bigger problems today is that many of the newer compilers > are not strictly "C" systems. > > And the website I listed is a C programming support site. > > So, if you have a problem with my response, perhaps you should really > take it up with the website referenced. You posted a C++ answer to a C question in a C newsgroup. The best part, in terms of entertainment value, is your claim that it is not your fault. -- pete