History of ‘C’ Root of the morden language is ALGOL It’s first

Slides:



Advertisements
Similar presentations
Computer Science Department
Advertisements

Chapter 1: Introduction
Introduction to C Programming CE Lecture 1 Introduction to C.
CSE1301 Computer Programming Lecture 4: C Primitives I.
Unix Continuum of Tools Do something once: use the command line Do something many times: –Use an alias –Use a shell script Do something that is complex.
1 Key Concepts:  Why C?  Life Cycle Of a C program,  What is a computer program?  A program statement?  Basic parts of a C program,  Printf() function?
CMSC 104, Version 9/011 Introduction to C Topics Compilation Using the gcc Compiler The Anatomy of a C Program 104 C Programming Standards and Indentation.
C programming Language and Data Structure For DIT Students.
Introduction to C. A Brief History Created by Dennis Ritchie at AT&T Labs in 1972 Originally created to design and support the Unix operating system.
CHAPTER 1: INTORDUCTION TO C LANGUAGE
Computer Science 210 Computer Organization Introduction to C.
“C” Programming Language CIS 218. Description C is a procedural languages designed to provide lowlevel access to computer system resources, provide language.
C: A VERY BRIEF HISTORY & STANDARDS © 1/4.
Welcome In The World Of ‘C’.  TEXT BOOK: Programming in ANCI ‘C By: E Balagurusamy. TMH  Reference Books: 1) The ‘C Programming Language By: Kernighan.
“C” Programming Language What is language ? Language is medium of communication. If two persons want to communicate with each other, they have to use.
Introduction to C Programming. A Brief History u Created by Dennis Ritchie at AT&T Labs in 1972 u Originally created to design and support the Unix operating.
Introduction of C++ language. C++ Predecessors Early high level languages or programming languages were written to address a particular kind of computing.
H.Melikian Introduction on C C is a high-level programming language that forms the basis to other programming languages such as C++, Perl and Java. It.
Programming With C.
History of C 1950 – FORTRAN (Formula Translator) 1959 – COBOL (Common Business Oriented Language) 1971 – Pascal Between Ada.
Introduction to Programming Lecture No. 1. Books  Deitel & Deitel :– C++ How to Program  Kernighan and Ritchie:- The C Programming Language.
/* Documentations */ Pre process / Linking statements Global declarations; main( ) { Local Declarations; Program statements / Executable statements; }
Sharda University P. K. Mishra (Asst.Prof) Department of Computer Science & Technology Subject Name: Programming Using C Sub Code: CSE-106 Programming.
Algorithms  Problem: Write pseudocode for a program that keeps asking the user to input integers until the user enters zero, and then determines and outputs.
C programming language was developed in the seventies by a group of at the Bell Telephone lab. The C language was the outline of two earlier languages.
Introduction to C CMSC 104, Section 4 Richard Chang 1.
DOCUMENTATION SECTION GLOBAL DECLARATION SECTION
Agenda Computer Languages How to Write a Simple C Program
Programming Fundamentals Lecture No. 2. Course Objectives Objectives of this course are three fold 1. To appreciate the need for a programming language.
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
Introduction to C Programming Language. History of C  C was evolved by Dennis Ritchie at AT&T Bell Laboratories in early of 1970s  Successor of: ALGOL.
Chapter 11  Getting ready to program  Hardware Model  Software Model  Programming Languages  Facts about C++  Program Development Process  The Hello-world.
An overview of C Language. Overview of C C language is a general purpose and structured programming language developed by 'Dennis Ritchie' at AT &T's.
Principles of Programming CSEB134 : BS/ CHAPTER Fundamentals of the C Programming Language.
MAHENDRAN. Session Objectives Session Objectives  Discuss the Origin of C  Features of C  Characteristics of C  Current Uses of C  “C” Programming.
1 Types of Programming Language (1) Three types of programming languages 1.Machine languages Strings of numbers giving machine specific instructions Example:
BASIC C PROGRAMMING LANGUAGE TUTORIAL infobizzs.com.
From Algorithms to Programs Both are sets of instructions on how to do a task Algorithm: –talking to humans, easy to understand –in plain (English) language.
Introduction to C Topics Compilation Using the gcc Compiler
PROGRAMMING WITH C ++.
UMBC CMSC 104 – Section 01, Fall 2016
Computer Science 210 Computer Organization
Unit 3: ALGORITHMS AND FLOWCHARTS
Introduction to C Language
C Programming Hardik H. Maheta.
C Language By Sra Sontisirikit
C Language VIVA Questions with Answers
Algorithms Problem: Write pseudocode for a program that keeps asking the user to input integers until the user enters zero, and then determines and outputs.
Overview of C.
Introduction to C Topics Compilation Using the gcc Compiler
Getting Started with C.
C language IT-1 (Batch-A) Name: EnNo: Arshad Muthalif
Introduction to C Programming Language
' C ' PROGRAMMING SRM-MCA.
Welcome In The World Of ‘C’.  TEXT BOOK: Programming in ANSI ‘C By: E Balagurusamy. TMH  Reference Books: 1) The ‘C Programming Language By: Kernighan.
Visit for more Learning Resources
Computer Science 210 Computer Organization
សេចក្តីផ្តើមពី Programming
The C Programming Language
Introduction C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell.
Govt. Polytechnic,Dhangar
C programming Language
Introduction to Computer Programming
C Programming Language
C Programming Language
The C Language: Intro.
C – Programming Language
Introduction to C Topics Compilation Using the gcc Compiler
Course Outcomes of Programming In C (PIC) (17212, C203):
Computer Science Department
Presentation transcript:

History of ‘C’ Root of the morden language is ALGOL 1960. It’s first computer language to use a block structure. It gave concept of structured programming. In 1967, Martin Richards developed a language, BCPL (Basic Combined Programming Language)

In 1970,by Ken Thompson created a language called as ‘B’. It used to create early version of Unix. In 1972,by Dennis Ritchie introduced new language called as ‘C’ .

1972 Traditional C Dennis Ritchie 1978 K&R C Kernighan &Ritchie 1989 ANSI C ANSI Committee 1990 ANSI/ISO C ISO Committee

Features Of ‘C’ It is a robust language. Programs written in ‘C’ are efficient and fast. (Because of variety of data types and powerful operators) Highly Portable. (related to OS) Well suited for structured programming. Ability to extend itself.

Program & Programming Language Program:- A Set of instructions which When carried out by processor for some Specific input, generates specific output. Programming language:- A specific manner of writing a program with some Predefined rules, symbols & their use as a part of language. i.e. Pascal, C, C++, VC++, JAVA, VB.

Basic structure of ‘C’ Documentation Section :- It has set of comment lines(name of program, author details). What is Comment line?? To guide a programmer. To write a note for function,operation,logic in between a program. Non-executable statement. Can’t be nested. e.g:- /* Hello /* abc */ Hi */ ERROR.

Link Section :- It provides instructions to the compiler to link function from the system library. # include Directive:- To access the functions which are stored in the library, it is necessary to tell the compiler , about the file to be accessed. Syntax:- #include<stdio.h> stdio.h is header file.

Definition Section #define:- It defines all symbolic constants. #define instuction defines value to a symbolic constant. #define:- It is a preprocessor compiler directive, not a statement. Therefore it should not end with a semicolon. Generally written in uppercase.

Global Declaration Section Some variables that are used in more than on function, such variables (global variables) declared in the global declaration section. It also declares all the user-defined function.

Main() function section: Every ‘C’ program must have one main() function section. It contains two parts Declaration part: It declares all variables used in the executable part. Executable part: It has atleast one statement.

main( ) = main (void) No arguments Explicitly indicate no arguments

Documentation section Link Section Definition Section Global Declaration Section main() function section { Declaration part Executable part } Subprogram section Function1 Function2 … user defined function