SlideShare uma empresa Scribd logo
1 de 4
Baixar para ler offline
Qurtuba University
Of Science And Information Technology
Assignment
History of C/C++
Submitted To
Sir Javeed
Submitted Date
16-Nov-2015
Submitted By
Fareed Hilal
ID: 10154
Class: BCS
1st Semester
Subject
Programing
fundamentals
The History of C/C++ Language Subject Programing Fundamentals
2 | P a g e
The History of the C Language
The C programming language was devised in the early 1970s by Dennis M. Ritchie an employee
from Bell Labs (AT&T).
In the 1960s Ritchie worked, with several other employees of Bell Labs (AT&T), on a project called
Multics. The goal of the project was to develop an operating system for a large computer that
could be used by a thousand users. In 1969 AT&T (Bell Labs) withdrew from the project, because
the project could not produce an economically useful system. So the employees of Bell Labs
(AT&T) had to search for another project to work on (mainly Dennis M. Ritchie and Ken
Thompson).
Ken Thompson began to work on the development of a new file system. He wrote, a version of
the new file system for the DEC PDP-7, in assembler. (The new file system was also used for the
game Space Travel). Soon they began to make improvements and add expansions. (They used
their knowledge from the Multics project to add improvements). After a while a complete system
was born. Brian W. Kernighan called the system UNIX, a sarcastic reference to Multics. The whole
system was still written in assembly code.
Besides assembler and FORTRAN, UNIX also had an interpreter for the programming language B.
(The B language is derived directly from Martin Richards BCPL). The language B was developed
in 1969-70 by Ken Thompson. In the early days computer code was written in assembly code. To
perform a specific task, you had to write many pages of code. A high-level language like B made
it possible to write the same task in just a few lines of code. The language B was used for further
development of the UNIX system. Because of the high-level of the B language, code could be
produced much faster, then in assembly.
A drawback of the B language was that it did not know data-types. (Everything was expressed in
machine words). Another functionality that the B language did not provide was the use of
“structures”. The lag of these things formed the reason for Dennis M. Ritchie to develop the
programming language C. So in 1971-73 Dennis M. Ritchie turned the B language into the C
language, keeping most of the language B syntax while adding data-types and many other
changes. The C language had a powerful mix of high-level functionality and the detailed features
required to program an operating system. Therefore many of the UNIX components were
eventually rewritten in C (the UNIX kernel itself was rewritten in 1973 on a DEC PDP-11).
The History of C/C++ Language Subject Programing Fundamentals
3 | P a g e
The programming language C was written down, by Kernighan and Ritchie, in a now classic book
called “The C Programming Language, 1st edition”. (Kernighan has said that he had no part in
the design of the C language: “It’s entirely Dennis Ritchie’s work”. But he is the author of the
famous “Hello, World” program and many other UNIX programs).
For years the book “The C Programming Language, 1st edition” was the standard on the language
C. In 1983 a committee was formed by the American National Standards Institute (ANSI) to
develop a modern definition for the programming language C (ANSI X3J11). In 1988 they
delivered the final standard definition ANSI C. (The standard was based on the book from K&R
1st ed.).
The standard ANSI C made little changes on the original design of the C language. (They had to
make sure that old programs still worked with the new standard). Later on, the ANSI C standard
was adopted by the International Standards Organization (ISO). The correct term should
therefore be ISO C, but everybody still calls it ANSI C.
C++ was invented in the very early 80s by Bjarne stroustrup. He had studied in the doctoral
program at the computing laboratory at Cambridge University.
C++ is an Object Oriented Language which has gained much more importance than any other
object oriented programming language and is increasingly being used. For a long time, C++ was
a standardized language and later in 1998 it became an ISO standard.
The first C++ compiler known as cfront was written by the developer at AT&T. It strong ties to C
language.
At the beginning, the developer and other scientists viewed the work done as an extension of C
language. Actually Bjarne Stroustup wanted to add some new features in the subset of C++ that
support Object Oriented concepts. In the subsequent years, he succeeded in his goal which is
now adays called the C++ language with object oriented approach. C++ is a separate language to
C and is almost a proper superset of C. It is for your information that the original version was
called, “C with classes”.
In 1989, the first true C++ compiler, G++, was written by Michael Tiemann of Cygnus was able to
produce code for most of the targets that GCC already supported.
The History of C/C++ Language Subject Programing Fundamentals
4 | P a g e
In late 90’s and the years following, a number of new C++ compilers were produced but many
were unable to keep pace with the standards committee. This era of no development is the
fundamental cause of non-portable of C++ programs. One of the plus p[points of the language
and especially the standard one is that it encompasses the language interface to the standard
library and also the Standard Template Library (STL). There are many new features added in this
language but a few of them are presented in the following manner.
Built in tool (Boolean) type
Exceptions
Casts
Namespaces
The mutable keyword
Templates
Standard Template library (STL)
Conclusion:
There are only a few incompatibilities with C and they are new keywords such as New, delete,
Void* pointer type conversion, etc. The last thing which should also be mentioned is that the
improved comments where the delimiter gives two types of flavor. The first flavor is the C
comment delimiters and the new one is the form of double slash. At the end I would say briefly
that C was redesigned, extended and the reimplementation of this process, the resulting
language is now called the C++ language.

Mais conteúdo relacionado

Mais procurados (20)

C/C++ History in few slides
C/C++ History in few slides C/C++ History in few slides
C/C++ History in few slides
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
 
c# usage,applications and advantages
c# usage,applications and advantages c# usage,applications and advantages
c# usage,applications and advantages
 
Swift programming language
Swift programming languageSwift programming language
Swift programming language
 
History of c++
History of c++ History of c++
History of c++
 
C# programming language
C# programming languageC# programming language
C# programming language
 
software development and programming languages
software development and programming languages software development and programming languages
software development and programming languages
 
C# language
C# languageC# language
C# language
 
Tokens_C
Tokens_CTokens_C
Tokens_C
 
C presentation
C presentationC presentation
C presentation
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#
 
C++ language basic
C++ language basicC++ language basic
C++ language basic
 
Advanced C
Advanced C Advanced C
Advanced C
 
C language
C languageC language
C language
 
Computer programming concepts
Computer programming conceptsComputer programming concepts
Computer programming concepts
 
C programming .pptx
C programming .pptxC programming .pptx
C programming .pptx
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 

Destaque

C++ history session 00 history
C++ history session 00   historyC++ history session 00   history
C++ history session 00 historyArun Prakash
 
Programming paradigm
Programming paradigmProgramming paradigm
Programming paradigmBhavin Kamani
 
Overview of c++ language
Overview of c++ language   Overview of c++ language
Overview of c++ language samt7
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Presentation on C++ Programming Language
Presentation on C++ Programming LanguagePresentation on C++ Programming Language
Presentation on C++ Programming Languagesatvirsandhu9
 
Library Management System Project in C
Library Management System Project in CLibrary Management System Project in C
Library Management System Project in Ccodewithc
 
Abstract of Library Management System
Abstract of Library Management SystemAbstract of Library Management System
Abstract of Library Management SystemMd Mudassir
 
difference between c c++ c#
difference between c c++ c#difference between c c++ c#
difference between c c++ c#Sireesh K
 
Sql joins inner join self join outer joins
Sql joins inner join self join outer joinsSql joins inner join self join outer joins
Sql joins inner join self join outer joinsDeepthi Rachumallu
 
Types Of Join In Sql Server - Join With Example In Sql Server
Types Of Join In Sql Server - Join With Example In Sql ServerTypes Of Join In Sql Server - Join With Example In Sql Server
Types Of Join In Sql Server - Join With Example In Sql Serverprogrammings guru
 
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...cprogrammings
 
Programming Paradigms
Programming ParadigmsProgramming Paradigms
Programming ParadigmsDirecti Group
 

Destaque (20)

C++ language
C++ languageC++ language
C++ language
 
C++ ppt
C++ pptC++ ppt
C++ ppt
 
C++ history session 00 history
C++ history session 00   historyC++ history session 00   history
C++ history session 00 history
 
C++ programming
C++ programmingC++ programming
C++ programming
 
Introduction Of C++
Introduction Of C++Introduction Of C++
Introduction Of C++
 
Programming paradigm
Programming paradigmProgramming paradigm
Programming paradigm
 
Overview of c++ language
Overview of c++ language   Overview of c++ language
Overview of c++ language
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
C vs c++
C vs c++C vs c++
C vs c++
 
Presentation on C++ Programming Language
Presentation on C++ Programming LanguagePresentation on C++ Programming Language
Presentation on C++ Programming Language
 
Library Management System Project in C
Library Management System Project in CLibrary Management System Project in C
Library Management System Project in C
 
Paradigms
ParadigmsParadigms
Paradigms
 
C vs c++
C vs c++C vs c++
C vs c++
 
Abstract of Library Management System
Abstract of Library Management SystemAbstract of Library Management System
Abstract of Library Management System
 
difference between c c++ c#
difference between c c++ c#difference between c c++ c#
difference between c c++ c#
 
Sql joins inner join self join outer joins
Sql joins inner join self join outer joinsSql joins inner join self join outer joins
Sql joins inner join self join outer joins
 
joins in database
 joins in database joins in database
joins in database
 
Types Of Join In Sql Server - Join With Example In Sql Server
Types Of Join In Sql Server - Join With Example In Sql ServerTypes Of Join In Sql Server - Join With Example In Sql Server
Types Of Join In Sql Server - Join With Example In Sql Server
 
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...
 
Programming Paradigms
Programming ParadigmsProgramming Paradigms
Programming Paradigms
 

Semelhante a History of C/C++ Language

C language myths & secrets
C language myths & secretsC language myths & secrets
C language myths & secretsankush1510
 
C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYRajeshkumar Reddy
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programmingNouroz Liaquat
 
C programming orientation
C programming orientationC programming orientation
C programming orientationnikshaikh786
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming LanguageSinbad Konick
 
C Programming for Begineers_an introductory_course.pptx
C Programming for Begineers_an introductory_course.pptxC Programming for Begineers_an introductory_course.pptx
C Programming for Begineers_an introductory_course.pptxmrsislam721
 
C programming short notes by pulkit modi
C programming short notes by pulkit modiC programming short notes by pulkit modi
C programming short notes by pulkit modiPulkitmodi1998
 
Intro to cprogramming
Intro to cprogrammingIntro to cprogramming
Intro to cprogrammingskashwin98
 
Evolution of programming language
Evolution of programming languageEvolution of programming language
Evolution of programming languageSameer Saini
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programminghamza239523
 
Fundamentals of programming and problem solving
Fundamentals of programming and problem solvingFundamentals of programming and problem solving
Fundamentals of programming and problem solvingJustine Dela Serna
 
Evolution of programming languages
Evolution of programming languagesEvolution of programming languages
Evolution of programming languagesNitin Kumar Kashyap
 
C programming tutorial
C programming tutorialC programming tutorial
C programming tutorialMohdVais1
 

Semelhante a History of C/C++ Language (20)

C language myths & secrets
C language myths & secretsC language myths & secrets
C language myths & secrets
 
C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDY
 
ojrfjfmerolki
ojrfjfmerolkiojrfjfmerolki
ojrfjfmerolki
 
Speaking in Tongues
Speaking in TonguesSpeaking in Tongues
Speaking in Tongues
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
C programming orientation
C programming orientationC programming orientation
C programming orientation
 
C programming 1
C programming  1C programming  1
C programming 1
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming Language
 
C programming i
C programming   iC programming   i
C programming i
 
C Programming for Begineers_an introductory_course.pptx
C Programming for Begineers_an introductory_course.pptxC Programming for Begineers_an introductory_course.pptx
C Programming for Begineers_an introductory_course.pptx
 
C programming short notes by pulkit modi
C programming short notes by pulkit modiC programming short notes by pulkit modi
C programming short notes by pulkit modi
 
Intro to cprogramming
Intro to cprogrammingIntro to cprogramming
Intro to cprogramming
 
C language By OmishaTech
C language By OmishaTechC language By OmishaTech
C language By OmishaTech
 
History of C Language
History of  C LanguageHistory of  C Language
History of C Language
 
Evolution of programming language
Evolution of programming languageEvolution of programming language
Evolution of programming language
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
 
Fundamentals of programming and problem solving
Fundamentals of programming and problem solvingFundamentals of programming and problem solving
Fundamentals of programming and problem solving
 
Evolution of programming languages
Evolution of programming languagesEvolution of programming languages
Evolution of programming languages
 
C programming tutorial
C programming tutorialC programming tutorial
C programming tutorial
 

Último

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 

Último (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

History of C/C++ Language

  • 1. Qurtuba University Of Science And Information Technology Assignment History of C/C++ Submitted To Sir Javeed Submitted Date 16-Nov-2015 Submitted By Fareed Hilal ID: 10154 Class: BCS 1st Semester Subject Programing fundamentals
  • 2. The History of C/C++ Language Subject Programing Fundamentals 2 | P a g e The History of the C Language The C programming language was devised in the early 1970s by Dennis M. Ritchie an employee from Bell Labs (AT&T). In the 1960s Ritchie worked, with several other employees of Bell Labs (AT&T), on a project called Multics. The goal of the project was to develop an operating system for a large computer that could be used by a thousand users. In 1969 AT&T (Bell Labs) withdrew from the project, because the project could not produce an economically useful system. So the employees of Bell Labs (AT&T) had to search for another project to work on (mainly Dennis M. Ritchie and Ken Thompson). Ken Thompson began to work on the development of a new file system. He wrote, a version of the new file system for the DEC PDP-7, in assembler. (The new file system was also used for the game Space Travel). Soon they began to make improvements and add expansions. (They used their knowledge from the Multics project to add improvements). After a while a complete system was born. Brian W. Kernighan called the system UNIX, a sarcastic reference to Multics. The whole system was still written in assembly code. Besides assembler and FORTRAN, UNIX also had an interpreter for the programming language B. (The B language is derived directly from Martin Richards BCPL). The language B was developed in 1969-70 by Ken Thompson. In the early days computer code was written in assembly code. To perform a specific task, you had to write many pages of code. A high-level language like B made it possible to write the same task in just a few lines of code. The language B was used for further development of the UNIX system. Because of the high-level of the B language, code could be produced much faster, then in assembly. A drawback of the B language was that it did not know data-types. (Everything was expressed in machine words). Another functionality that the B language did not provide was the use of “structures”. The lag of these things formed the reason for Dennis M. Ritchie to develop the programming language C. So in 1971-73 Dennis M. Ritchie turned the B language into the C language, keeping most of the language B syntax while adding data-types and many other changes. The C language had a powerful mix of high-level functionality and the detailed features required to program an operating system. Therefore many of the UNIX components were eventually rewritten in C (the UNIX kernel itself was rewritten in 1973 on a DEC PDP-11).
  • 3. The History of C/C++ Language Subject Programing Fundamentals 3 | P a g e The programming language C was written down, by Kernighan and Ritchie, in a now classic book called “The C Programming Language, 1st edition”. (Kernighan has said that he had no part in the design of the C language: “It’s entirely Dennis Ritchie’s work”. But he is the author of the famous “Hello, World” program and many other UNIX programs). For years the book “The C Programming Language, 1st edition” was the standard on the language C. In 1983 a committee was formed by the American National Standards Institute (ANSI) to develop a modern definition for the programming language C (ANSI X3J11). In 1988 they delivered the final standard definition ANSI C. (The standard was based on the book from K&R 1st ed.). The standard ANSI C made little changes on the original design of the C language. (They had to make sure that old programs still worked with the new standard). Later on, the ANSI C standard was adopted by the International Standards Organization (ISO). The correct term should therefore be ISO C, but everybody still calls it ANSI C. C++ was invented in the very early 80s by Bjarne stroustrup. He had studied in the doctoral program at the computing laboratory at Cambridge University. C++ is an Object Oriented Language which has gained much more importance than any other object oriented programming language and is increasingly being used. For a long time, C++ was a standardized language and later in 1998 it became an ISO standard. The first C++ compiler known as cfront was written by the developer at AT&T. It strong ties to C language. At the beginning, the developer and other scientists viewed the work done as an extension of C language. Actually Bjarne Stroustup wanted to add some new features in the subset of C++ that support Object Oriented concepts. In the subsequent years, he succeeded in his goal which is now adays called the C++ language with object oriented approach. C++ is a separate language to C and is almost a proper superset of C. It is for your information that the original version was called, “C with classes”. In 1989, the first true C++ compiler, G++, was written by Michael Tiemann of Cygnus was able to produce code for most of the targets that GCC already supported.
  • 4. The History of C/C++ Language Subject Programing Fundamentals 4 | P a g e In late 90’s and the years following, a number of new C++ compilers were produced but many were unable to keep pace with the standards committee. This era of no development is the fundamental cause of non-portable of C++ programs. One of the plus p[points of the language and especially the standard one is that it encompasses the language interface to the standard library and also the Standard Template Library (STL). There are many new features added in this language but a few of them are presented in the following manner. Built in tool (Boolean) type Exceptions Casts Namespaces The mutable keyword Templates Standard Template library (STL) Conclusion: There are only a few incompatibilities with C and they are new keywords such as New, delete, Void* pointer type conversion, etc. The last thing which should also be mentioned is that the improved comments where the delimiter gives two types of flavor. The first flavor is the C comment delimiters and the new one is the form of double slash. At the end I would say briefly that C was redesigned, extended and the reimplementation of this process, the resulting language is now called the C++ language.