Preview

Floating Point and Lt

Good Essays
Open Document
Open Document
7384 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Floating Point and Lt
History of C++ The C++ programming language has a history going back to 1979, when Bjarne Stroustrup was doing work for his Ph.D. thesis. One of the languages Stroustrup had the opportunity to work with was a language called Simula, which as the name implies is a language primarily designed for simulations. The Simula 67 language - which was the variant that Stroustrup worked with - is regarded as the first language to support the object-oriented programming paradigm. Stroustrup found that this paradigm was very useful for software development, however the Simula language was far too slow for practical use.

Shortly thereafter, he began work on "C with Classes", which as the name implies was meant to be a superset of the C language. His goal was to add object-oriented programming into the C language, which was and still is a language well-respected for its portability without sacrificing speed or low-level functionality. His language included classes, basic inheritance, inlining, default function arguments, and strong type checking in addition to all the features of the C language.

The first C with Classes compiler was called Cfront, which was derived from a C compiler called CPre. It was a program designed to translate C with Classes code to ordinary C. A rather interesting point worth noting is that Cfront was written mostly in C with Classes, making it a self-hosting compiler (a compiler that can compile itself). Cfront would later be abandoned in 1993 after it became difficult to integrate new features into it, namely C++ exceptions. Nonetheless, Cfront made a huge impact on the implementations of future compilers and on the Unix operating system.

In 1983, the name of the language was changed from C with Classes to C++. The ++ operator in the C language is an operator for incrementing a variable, which gives some insight into how Stroustrup regarded the language. Many new features were added around this time, the most notable of which are virtual

You May Also Find These Documents Helpful

  • Satisfactory Essays

    1980 C++ was invented at bell laboratories the cool thing about c++ is it has low lever and high level machine languages.…

    • 388 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Pm3110 Unit 5 Lab Report

    • 343 Words
    • 2 Pages

    Classes are useful for length programs which require large amounts of similar code. Classes can accelerate program development by reducing redundant code, testing, and debugging. Using classes also makes the code easier to read and follow for other programmers.…

    • 343 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Pt1420 Unit 1 Assignment 2

    • 1305 Words
    • 6 Pages

    Das, D., Gregersen, E., Hosch, L., Lotha, G., Sampaolo, M., Sinha, S. (2014). C++. In Encyclopedia Britannica.…

    • 1305 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    C++ programming: editing, compiling, user I/O, variables (ints, doubles, char, strings, booleans), loops, decisions, functions, pointers, arrays, tables, databases, sorting.…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Phase 2 Db

    • 390 Words
    • 2 Pages

    Java was created in 1991 by James Gosling. He recruited a group of engineers to develop a new programming language targeting consumer devices. The language was given the name “Oak”. It was later discovered the original name had been taken by another company for their programming project which resulted in Oak being renamed to Java. The Java group developed a language that would share similar characteristics with C languages but fewer bugs, more versatility, hardware independence, and reduced development times.…

    • 390 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Netw250

    • 2162 Words
    • 9 Pages

    Upon returning to Bell Labs, Ritchie and Thompson began developing a game called Space Travel using the Multics language and a retired DEC PDP-7 minicomputer. Space Travel led to the development of a file system structure, paging, a command-line shell, and processes. In 1971, UNIX was chosen as the operating system name, a play on the name Multics. Ritchie wrote the C Language (1971–1973) to provide a more flexible programming environment for UNIX; earlier versions were written in the assembler and B languages, which had been written by Thompson.…

    • 2162 Words
    • 9 Pages
    Powerful Essays
  • Better Essays

    Object-oriented Languages: mainly features as same as the imperative languages because these languages are evolved from imperative languages. The specialty rests on the object-oriented concepts in these languages. Widely used for every kind of software programming and the most commonly used languages are considered to these languages. Java, C#, C++ and Python are few examples.…

    • 1672 Words
    • 7 Pages
    Better Essays
  • Good Essays

    Recco Smith Unit 1 HmWrk

    • 1114 Words
    • 4 Pages

    The 1970s was a very outstanding year for programming languages. The five most popular languages of the decade where Ada, Pascal, C, Smalltalk, and bliss. The creators of the languages are as follow: Ada-Jean Ichbiah at Alsys in the 1970s primarily for applications used by the U.S. department of Defense. The program is named in honor of countess Ada Lovelace, an influential and historical figure in the field of computing. Pascal-Niklaus Wirth and Kathleen Jensen in the 1970s and was originally designed for teaching programming. C-Dennis Ritchie in 1972 at Bell Laboratories, which is a very powerful and yet general purpose language. Smalltalk-Daniel Henry Holmes Ingalls, Jr. it was created in 1972 as the language to underpin the new world of computing and in part for education. BLISS-W.A. Wulf and D.B. Russell back in 1970 at…

    • 1114 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Task 1

    • 2644 Words
    • 8 Pages

    Procedural programming uses C programming language. C is considered to be a general purpose, work-horse language ideal for creating applications. Operating systems and interfacing with electronic control systems. It was made in 1972 by Dennis Ritchie at the Bell Telephone Laboratories. Unlike languages such as BASIC and PASCAL, C relies on symbols rather than keywords. As such, it is often described as being ‘terse’ and more difficult to learn, but typically offer more powerful solutions…

    • 2644 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    Intro to Programming

    • 390 Words
    • 2 Pages

    Procedure programming can be written in C, HTML, Perl, and Visual Basic Script while Object Oriented Programming can be written in C++, Java, and .NET language (Stetson, 2004).…

    • 390 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    References: Bhave, M.P. & Patekar, S.A. (2007). Object-Oriented Programming With C++. Delhi, India: Dorling Kindersley.…

    • 372 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Thought there are numerous computer programming languages in the world today, we will focus on the three basic fundamental types of computer programming languages.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Gnu Public License

    • 633 Words
    • 3 Pages

    Study of software development and the free exchange of ideas promised by advances in computer technology were both slowed by the corporate privatization of operating systems. Companies wanted to keep the source codes of their systems secret and safe from manipulation. The sharing of information and open-source methods of the first pioneering programmers were brought to a halt by copyright and intellectual property laws. This changed the ways that software was developed, studied, acquired, and used. To save the open-source, free access methodologies that had brought about so many of the first advances in computer operating systems, Richard Stallman of MIT created the GNU project in 1983.…

    • 633 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Empower the Masses

    • 827 Words
    • 4 Pages

    C is made up entirely of building blocks which have a particular ‘shape’ or form .A program is made up of functions, functions are made up of statements and declarations surrounded by curly braces { } .One and only one of these functions in the program must have the name main(). This function is always the starting point of a C program . The parentheses ‘()’ which follow the name of the function must be included even though they apparently serve no purpose at this stage.…

    • 827 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    C++ Notes

    • 14968 Words
    • 60 Pages

    A C++ program is a collection of commands, which tell the computer to do "something". This collection of commands is usually called C++ source code, source code or just code. Commands are either "functions" or "keywords". Keywords are a basic building block of the language, while functions are, in fact, usually written in terms of simpler functions--you'll see this in our very first program, below. (Confused? Think of it a bit like an outline for a book; the outline might show every chapter in the book; each chapter might have its own outline, composed of sections. Each section might have its own outline, or it might have all of the details written up.) Thankfully, C++ provides a great many common functions and keywords that you canuse.…

    • 14968 Words
    • 60 Pages
    Good Essays

Related Topics