Thread: ANSI C Reference

  1. #1

    ANSI C Reference


    I have a simple question, and I can't seem to find an answer to it via Google. I have viewed the comp.lang.c FAQ, and I occasionally find a statement that looks like the following:
    References: K&R1 Sec. 2.2 p. 34; K&R2 Sec. 2.2 p. 36, Sec. A4.2
    pp. 195-6, Sec. B11 p. 257; ANSI Sec., Sec.;
    ISO Sec., Sec.; H&S Secs. 5.1,5.2 pp. 110-114.
    What I want to know is where to find the ANSI, K&R1, K&R2, or ISO document(s). I can do searches for "ANSI", but all I get is a bunch of comp.lang.c FAQ pages. I have found the Rationale with no problem at all. It's just the others. Is it something I can buy, does it even exist online, or is it found in a book?

    - Stack Overflow
    Segmentation Fault: I am an error in which a running program attempts to access memory not allocated to it and core dumps with a segmentation violation error. This is often caused by improper usage of pointers, attempts to access a non-existent or read-only physical memory address, re-use of memory if freed within the same scope, de-referencing a null pointer, or (in C) inadvertently using a non-pointer variable as a pointer.

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Since C99 is officially the standard, it is supposed to be the one to buy. There are drafts of C90 out there; here is one. I think Chris Hills was trying to make some form of C90 available (in the UK?).
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 11:45 AM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. C OpenGL Compiler Error?
    By Matt3000 in forum C Programming
    Replies: 12
    Last Post: 07-07-2006, 04:42 PM
  5. c++ linking problem for x11
    By kron in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2004, 10:18 AM