Thread: question about the standard of programming language C

  1. #1
    Registered User
    Join Date
    Sep 2011
    Location
    Beijing, China
    Posts
    3

    Question question about the standard of programming language C

    Just now, I downloaded the standard of programming language C, and its title is 'ISO/IEC 9899:TC2'. I feel confused about this. I know 'ISO/IEO 9899' is for 'programming language C', but I don't know what does 'TC2' mean, and what is the relationship between 'ISO/IEC 9899:1999' and 'ISO/IEC 9899:TC2'?

    who can help me? Thanks a lot!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Technical Corrigendum 2
    TC = TECHNICAL CORRIGENDUM
    Essentially, the TC documents are bug fixes to the respective standards.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949
    Quote Originally Posted by xcduan View Post
    Just now, I downloaded the standard of programming language C, and its title is 'ISO/IEC 9899:TC2'. I feel confused about this. I know 'ISO/IEO 9899' is for 'programming language C', but I don't know what does 'TC2' mean, and what is the relationship between 'ISO/IEC 9899:1999' and 'ISO/IEC 9899:TC2'?

    who can help me? Thanks a lot!
    TC stands for "Technical Corrigendum" which is basically a revision. So TC2 is basically the second revision to the C99 Standard.

    EDIT: Salem beat me, something with my connection to the board tonight....
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  4. #4
    Registered User
    Join Date
    Sep 2011
    Location
    Beijing, China
    Posts
    3
    Salem, AndrewHunter, thanks for your help.

    Per the name 'ISO/IEC 9899:TC2', how do I know that the revision(TC2) is for 'ISO/IEC 9899:1990' or ''ISO/IEC 9899:1999' ?

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by xcduan
    Per the name 'ISO/IEC 9899:TC2', how do I know that the revision(TC2) is for 'ISO/IEC 9899:1990' or ''ISO/IEC 9899:1999' ?
    Check the date of the document.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  6. #6
    Registered User
    Join Date
    Sep 2011
    Location
    Beijing, China
    Posts
    3
    thanks a lot, this answers my question!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question on the book "C Programming Language" by K&R
    By noahian in forum C Programming
    Replies: 3
    Last Post: 09-04-2011, 02:56 PM
  2. Replies: 8
    Last Post: 07-30-2008, 05:37 AM
  3. What's the Difference Between a Programming Language and a Scripting Language?
    By Krak in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 07-15-2005, 04:46 PM
  4. Question about the book "The C Programming Language"
    By caduardo21 in forum C Programming
    Replies: 4
    Last Post: 05-15-2005, 01:22 PM
  5. standard language, standard compiler?
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 09-03-2001, 04:21 AM