This preview has intentionally blurred parts. Sign up to view the full document

View Full Document

Unformatted Document Excerpt

COP 3223: C Programming (Intro To C Part 1) Page 1 Dr. Mark J. Llewellyn COP 3223: C Programming Spring 2009 Introduction To C - Part 1 School of Electrical Engineering and Computer Science University of Central Florida Instructor : Dr. Mark Llewellyn markl@cs.ucf.edu HEC 236, 407-823-2790 http://www.cs.ucf.edu/courses/cop3223/spr2009/section1 COP 3223: C Programming (Intro To C Part 1) Page 2 Dr. Mark J. Llewellyn The C programming language was developed in the early 1970s by Dennis Ritchie and Ken Thompson in order to assist in their development of the Unix operating system. Since that time, the C language has been standardized according to both ANSI (American National Standards Institute) and ISO (International Standards Organization) standards. The current mostly widely used version of C is the ISO standard commonly referred to as C89. The newer standard, known as C99, has not yet been universally adopted. So when most people refer to standard C, it is the C89 standard that is assumed. It will probably be some years before all C compilers will be C99 compliant. Introduction To C COP 3223: C Programming (Intro To C Part 1) Page 3 Dr. Mark J. Llewellyn Many modern programming languages have been influenced by C. Java, Perl, C#, and C++, just to mention a few, have all been heavily influenced by the C language. Most of these languages have a syntax which is very C-like, and include many of the basic commands and data types that are defined in the C language. Introduction To C COP 3223: C Programming (Intro To C Part 1) Page 4 Dr. Mark J. Llewellyn C is considered a low-level language. It was primarily developed to write operating systems which requires many low- level instructions very close to an assembler language. (Assembler languages are very low-level languages, just one step up from machine language. They are cryptic languages but provide many direct machine level commands and are thus very efficient languages for low level programming.) C is a small language compared to many modern programming languages. This makes it a nice language to learn as a first programming language. C is a permissive language , which means that C (i.e., the compiler) assumes that you know what you are doing and allows you more latitude than many other programming languages. This is both good and bad, as we will see later. It is good because you can write working programs without being required to have extensive error checking , but bad because it is therefore easier to write incorrect programs. What Is C? COP 3223: C Programming (Intro To C Part 1) Page 5 Dr. Mark J. Llewellyn C is efficient. Since it was primarily developed for applications where assembly language had been traditionally used, it was crucial that C programs run quickly and in limited amounts of memory.... View Full Document

End of Preview

Sign up now to access the rest of the document