Thread: C standard verision on which "C How to Program" Deitel's books are based.

  1. #1
    Registered User
    Join Date
    Jan 2015
    Posts
    1

    C standard verision on which "C How to Program" Deitel's books are based.

    Hey guys. I often use C language to make programs as part of my PhD studies. I'm physicist an work on Linux, so I use GSL library (it has a lots of C written functions for making practically anything in Mathematics using C). This library is fully based on the C89 standard. So, my questions is concerned about on which C standard are based the famous books (several editions) written by Paul Deitel and Harvey Deitel, I meant specifically the “C How to Program” series.
    I'm concerned about that because it is important for me write all my code in a portable way and strictly based on the C89 standard, which is the one used by the GSL. I would like to use the mentioned book as reference for my C projects.
    Thanks in advance

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    GSL may be written to be C89 compliant, but that doesn't mean you need to stick to C89 compliance to use it. More recent standards are mostly backward compatible to C89 or tightened things up (which means code written to C89 will probably build with a more recent compiler), at least with regard to things that would be relevant to GSL (passing arrays, numerics, etc).

    Odds are, you'll find yourself using gcc. Look up compiler (command line) options related to standard support, as well as warning levels.

    I've never personally read the books by Deitel&Deitel, so can't comment on how good or bad they are. However, bibliographical information I've seen suggests that later editions were updated in line with more recent standards.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 03-09-2009, 10:15 PM
  2. Replies: 11
    Last Post: 10-07-2008, 06:19 PM
  3. "C++: The Complete Reference" or the deitel book?
    By Nutshell in forum C++ Programming
    Replies: 5
    Last Post: 01-29-2003, 02:12 AM
  4. "itoa"-"_itoa" , "inp"-"_inp", Why some functions have "
    By L.O.K. in forum Windows Programming
    Replies: 5
    Last Post: 12-08-2002, 08:25 AM
  5. "CWnd"-"HWnd","CBitmap"-"HBitmap"...., What is mean by "
    By L.O.K. in forum Windows Programming
    Replies: 2
    Last Post: 12-04-2002, 07:59 AM

Tags for this Thread