Thread: C

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    4

    C

    Hey -
    Hi, I am learning C, and I was just wondering if there is some sort of difference between ANSI C and C, of if ANSI C was just some sort of different way for saying C. Because I was reading a review on this book and this is what it said..."Presents a complete guide to ANSI standard C language programming". Thanks.

  2. #2
    still a n00b Jaguar's Avatar
    Join Date
    Jun 2002
    Posts
    187
    I think that cydo means nowadays general C compilers go much beyond ANSI C. But some are not portable. If you need portability, you should write your code complying with ANSI.
    slackware 10.0; kernel 2.6.7
    gcc 3.4.0; glibc 2.3.2; vim editor
    migrating to freebsd 5.4

  3. #3
    Green Member Cshot's Avatar
    Join Date
    Jun 2002
    Posts
    892
    Originally posted by Salem
    There has been only ANSI-C since about 1989, so if it doesn't say ANSI-C, it isn't worth looking at, except as a piece of history.

    If you're looking at "The C programming language" by Kernighan and Ritchie, then its definitely one of the best ANSI-C reference books available (ie, you know C, and you need a reminder), though it can be a bit tough for someone new to programming to get used to.
    Also make sure that it's the 2nd edition you're looking at.
    Try not.
    Do or do not.
    There is no try.

    - Master Yoda

Popular pages Recent additions subscribe to a feed