Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: floor() |
| Date | 2012-08-01 12:04 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <50195399.6060104@verizon.net> (permalink) |
| References | <5019226f$0$3111$ba620e4c@news.skynet.be> <i4gi18pcga6nps7u4duc364qjsc00td4te@4ax.com> <jvbg6o$g1s$1@dont-email.me> <l5hi18tr9k2mmi0us8a6old851s8eve552@4ax.com> <ufhi18d3cb39mugs2nvuqn4ic6u5pot1j8@4ax.com> |
On 08/01/2012 11:12 AM, TheGunslinger wrote: > On Wed, 01 Aug 2012 10:02:01 -0500, TheGunslinger > <mikiesrunsbaal.sec@sbcglobal.net> wrote: > >> On Wed, 01 Aug 2012 10:58:31 -0400, Eric Sosman >> <esosman@ieee-dot-org.invalid> 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 <cmath> >>> >>> 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 <cmath> 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. You may have been aware of it, but nothing you wrote in your response reflected that awareness, other than the use of C in your recommended search string. However, your use of STL in that same string negates that. Since STL is commonly used as an abbreviation for the Standard Template Library which eventually became a major part (but NOT the entirety) of the C++ standard library, adding STL to the search virtually guarantees exclusion of C-specific web sites. ... > And the website I listed is a C programming support site. No, it's a C and C++ programming site, which like many such sites, does not do a good job of dealing with the differences between C and C++. In particular, the particular page you cited documents exclusively the C++ version of the floor() function. I checked, and most of the pages at that site for other standard library functions document both the C and the C++ header file name, so it was just bad luck that the page for floor() does not. > So, if you have a problem with my response, perhaps you should really > take it up with the website referenced. The last paragraph of your original message was written entirely by you. Neither of the mistakes in that paragraph was the responsibility of anyone other than yourself, and that paragraph could not have been written by someone who was, as you claim to have been, 'fully aware that this is a "C" forum'.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
floor() Andre <pas.mois@ailleur.be> - 2012-08-01 14:34 +0200
Re: floor() Xavier Roche <xroche@free.fr.NOSPAM.invalid> - 2012-08-01 14:38 +0200
Re: floor() Andre <pas.mois@ailleur.be> - 2012-08-01 16:47 +0200
Re: floor() Andre <pas.mois@ailleur.be> - 2012-08-01 17:49 +0200
Re: floor() Ike Naar <ike@sverige.freeshell.org> - 2012-08-01 15:53 +0000
Re: floor() falk@rahul.net (Edward A. Falk) - 2012-08-01 18:26 +0000
Re: floor() Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-08-02 16:30 +0000
Re: floor() Keith Thompson <kst-u@mib.org> - 2012-08-02 14:58 -0700
Re: floor() "Heinrich Wolf" <invalid@invalid.invalid> - 2012-08-01 17:56 +0200
Re: floor() Noob <root@127.0.0.1> - 2012-08-01 17:58 +0200
Re: floor() Keith Thompson <kst-u@mib.org> - 2012-08-01 10:31 -0700
Re: floor() Ben Pfaff <blp@cs.stanford.edu> - 2012-08-01 10:43 -0700
Re: floor() James Kuyper <jameskuyper@verizon.net> - 2012-08-01 13:51 -0400
Re: floor() Ben Pfaff <blp@cs.stanford.edu> - 2012-08-01 10:59 -0700
Re: floor() Noob <root@127.0.0.1> - 2012-08-02 10:04 +0200
Re: floor() Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-08-02 16:33 +0000
Re: floor() Craig Franck <craiglfranck@gmail.com> - 2012-08-03 20:49 -0400
Re: floor() Noob <root@127.0.0.1> - 2012-08-01 16:47 +0200
Re: floor() Andre <pas.mois@ailleur.be> - 2012-08-01 16:48 +0200
Re: floor() TheGunslinger <mikiesrunsbaal.sec@sbcglobal.net> - 2012-08-01 09:49 -0500
Re: floor() Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-01 10:58 -0400
Re: floor() TheGunslinger <mikiesrunsbaal.sec@sbcglobal.net> - 2012-08-01 10:02 -0500
Re: floor() James Kuyper <jameskuyper@verizon.net> - 2012-08-01 11:10 -0400
Re: floor() TheGunslinger <mikiesrunsbaal.sec@sbcglobal.net> - 2012-08-01 10:12 -0500
Re: floor() pete <pfiland@mindspring.com> - 2012-08-01 12:04 -0400
Re: floor() James Kuyper <jameskuyper@verizon.net> - 2012-08-01 12:04 -0400
Re: floor() Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-01 13:07 -0400
Re: floor() Craig Franck <craiglfranck@gmail.com> - 2012-08-03 21:11 -0400
csiph-web