ee312-lecture2 - EE312 - Lecture 2 Announcements TA lab...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 EE312 - Lecture 2 Announcements • TA lab hours schedule posted • Assignment 1 is due Thursday before midnight • Topics for today will answer the questions: – What is the C programming language ? • Book availability??? The History of C • Designed and implemented by Dennis Ritchie of Bell Labs between 1969 and 1973. • Created to serve as the implementation language for the UNIX operating system. • Named after the B language, its immediate predecessor (which in turn was named after the BCPL language). • Became popular during the 1980s, both for UNIX programming and for developing applications for personal computers. • 1980 Bjarne Stroustrup created “C with classes,” which became C++ • Dennis Ritchie’s article, “The Development of the C Language,” can be found on the web at – cm.bell-labs.com/cm/cs/who/dmr/chist.html. Versions of C – Described in Kernighan and Ritchie, The C Programming Language, Prentice- Hall, 1978 ANSI C (ISO C, C89) – ANSI standard X3.159-1989 (completed in 1988; formally approved in December 1989) – International standard ISO/IEC 9899:1990 – Described in Kernighan and Ritchie, The C Programming Language, Second Edition, Prentice-Hall, 1988 C99 – International standard ISO/IEC 9899:1999 Slight variations by compiler maker Advantages and Disadvantages of C Recommendations – Use tools (IDE, lint, debuggers, etc.) to make programs more reliable. – Use libraries of existing code (both to save time and increase reliability). – Adopt a sensible set of coding conventions. – Avoid programming “tricks” and complicated code. Disadvantages –Error-prone –Difficult to understand –Difficult to maintain Advantages –Efficient –Portable –Powerful –Flexible –Standard library –Integrated well with UNIX The C Language - Syntax and Semantics - Semantics : The constructs have meaning and behavior. A particular element of the language causes the
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/09/2008 for the course EE 312 taught by Professor Shafer during the Spring '08 term at University of Texas.

Page1 / 3

ee312-lecture2 - EE312 - Lecture 2 Announcements TA lab...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online