1 - approved in December 1989 International standard...

Info icon This preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
CGS 3460 Course Web Site Get CISE Account Submit via Web Ct Late Policy 50% Per Day Missubmission policy Academic Honesty Class Scheduling
Image of page 1

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

View Full Document Right Arrow Icon
Student Breakdown
Image of page 2
1. INTRODUCING C
Image of page 3

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

View Full Document Right Arrow Icon
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. • 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 .
Image of page 4
Versions of C • K&R 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
Image of page 5

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

View Full Document Right Arrow Icon
Image of page 6
Image of page 7

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

View Full Document Right Arrow Icon
Image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 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 Advantages of C • Advantages – Efficient – Portable – Powerful – Flexible – Standard library – Integrated well with UNIX Disadvantages of C • Disadvantages – Error-prone – Difficult to understand – Difficult to maintain Recommendations • Recommendations – Use tools (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 “tricks” and complicated code. Demonstration • Compiling • Submitting...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern