Home > Programming > C Programming Language



ANSI C Programming Language

Sort Desciption:

ANSI C Programming Language Page 14 September 7, 1997 ANSI C Programming Language • A ... C Program Structure Page 16 September 7, 1997 C Program Structure • Programs are composed of one ...



Content Inside:

Copyright 1995 D. Hanson, K. Li & J.P. Singh Computer Science 217: ANSI C Programming Language Page 14 September 7, 1997 ANSI C Programming Language • A small, general-purpose, initially systems programming language • Used for writing the UNIX OS and tools for many computers • Now also very popular for general-purpose computing • A "low-level" language datatypes and control structures are close to those on most machines • Notable features pointer (address) arithmetic and operators all functions are call-by-value simple, 2-level scope structure no I/O or memory management facilities (provided by library routines) "flexible" type structure • History BCPL B C K&R C ANSI C ~1960     ~1970   ~1972       ~1978              ~1988 Copyright 1995 D. Hanson, K. Li & J.P. Singh Computer Science 217: C vs Modula-3 Page 15 September 7, 1997 C vs Modula-3 feature C Modula- 3 safe no yes efficient yes yes garbage collection no yes static typechecking mostly yes enforced interfaces no yes concurrency no yes Huh? widely available yes no everyone knows it yes no software tools yes some good for a summer job yes no Copyright 1995 D. Hanson, K. Li & J.P. Singh Computer Science 217: C Program Structure Page 16 September 7, 1997 C Program Structure • Programs are composed of one or more files each file contains global variables and functions int a, b; /* global variables */ int main(int argc, char *argv[]) { hello(); return 0; } void hello(void) { printf("hello world "); } • Execution begins by calling main ends when main returns (or some function calls the library function exit ) Copyright 1995 D. Hanson, K. Li & J.P. Singh Computer Science 217: Function Definitions Page 17 September 7, 1997 Function Defini ...

Source: www.cs.princeton.edu


add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related Files

Programming in C C++ Java

Filed under: Programming and C Programming Language
Programming in C C++ Java. Course Overview. Object oriented programming languages are widely used for the development of complex software systems. ...

C Programming

Filed under: Programming and C Programming Language
The C Programming Language ANSI C. By Brian W. C. Kernighan & Dennis M. Ritchie. K and R. "Practical C programming". By Steve ...

An Overview of the C++ Programming Language

Filed under: Programming and C Programming Language
The C++ programming language provides a model of memory and computation that ... 3 The C Programming Model presents the C subset of C++ and other C++ ...

C Programming Fundamentals

Filed under: Programming and C Programming Language
1 C Programming Fundamentals C is a compiled language. The user creates source code (often ... exe extension). Below is typical C program called LED.C that illustrates some fundamental C ...

Essential C

Filed under: Programming and C Programming Language
C Programming Language (below) as part of their research at AT&T. Unix and C++ ... The C Programming Language 2nd ed. by Kernighan and Ritchie. ...