Preview

C++ Programming Language

Powerful Essays
Open Document
Open Document
4580 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
C++ Programming Language
Institute of Engineering, Information and Technology

Structure of Programming Language
“C++ Programming Language”

INSTRUCTOR:
SCLP

SUBMITTED BY:
UC

HISTORY OF C++ In the early 1970s, Dennis Ritchie of Bell Laboratories was engaged in a project to develop a new operating system. Ritchie discovered that in order to accomplish his task he needed the use of a programming language that was concise and that produced compact and speedy programs. This need led Ritchie to develop the programming language called C.. In the early 1980's, also at Bell Laboratories, another programming language was created which was based upon the C language. This new language was developed by Bjarne Stroustrup and was called C++. Stroustrup states that the purpose of C++ is to make writing good programs easier and more pleasant for the individual programmer. When he designed C++, he added OOP (Object Oriented Programming) features to C without significantly changing the C component. Thus C++ is a "relative" (called a superset) of C.

Introduction

When one begins to write a program, the first action should be to define the variables that the program needs; variables are places in memory in which to store data items. Next, one writes the instructions to input values from the user (say, via the keyboard) and store those values in the variables. Now that the variables have values, one can write the needed calculation instructions and finally the instructions to display the results. This chapter concentrates on numeric type of variables and constants along with their basic input and output instructions.

Use of C++: C++ is used by hundreds of thousands of programmers in essentially every application domain. C++ is being highly used to write device drivers and other software that rely on direct manipulation of hardware under real time constraints. C++ is widely used for teaching and research because it is clean enough for successful teaching of

You May Also Find These Documents Helpful

  • Satisfactory Essays

    In 1970 C programing was created by Dennis Richie and ken Thompson was made to create portability in UNIX…

    • 388 Words
    • 2 Pages
    Satisfactory 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

    C Is difficult, because the control flow is out of the hands of the application programmer…

    • 1508 Words
    • 7 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
  • Powerful Essays

    The following information will introduce general knowledge in basic programming concepts. It shall discuss basic types of computer programming languages as-well-as program development. There are three basic types of computer programming languages that will be discussed in a simple and easy to understand manner. We shall also describe the program development cycle and discuss why it is important to use a structured and organized process to create a computer programming language.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Programming Homework

    • 366 Words
    • 2 Pages

    The variables in this program will be declared are num_1, num_2 and will be used as integers.…

    • 366 Words
    • 2 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
  • Good Essays

    an error check was needed to check the validity of the hours entered. An error check…

    • 510 Words
    • 3 Pages
    Good Essays
  • Good Essays

    The C programming language was devised in the early 1970s by Dennis M. Ritchie an employee from Bell Labs (AT&T).…

    • 906 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Computer Programming

    • 530 Words
    • 4 Pages

    Computer programming is defined as telling a computer what to do through a special set of instructions which are then interpreted by the computer to perform some task(s). A computer goes through a set of steps whose purpose is to achieve something. These steps are instructed to the computer by computer programs. Essentially, computer programming is the process by which these programs are designed and implemented. [1.]…

    • 530 Words
    • 4 Pages
    Satisfactory Essays
  • Better Essays

    C# Step by Step Codes

    • 19309 Words
    • 78 Pages

    have drawn comparisons to the role that C played in the development of UNIX. If you…

    • 19309 Words
    • 78 Pages
    Better Essays
  • Powerful Essays

    ding dong

    • 839 Words
    • 4 Pages

    *** Use only features of C++ that are found in chapters 1, 2, and 3 of your textbook.…

    • 839 Words
    • 4 Pages
    Powerful Essays
  • Powerful Essays

    C++ and Lt

    • 2169 Words
    • 9 Pages

    The C++ standard libraries provide an extensive set of input/output capabilities which we will see in subsequent chapters. This chapter will discuss very basic and most common I/O operations required for C++ programming.…

    • 2169 Words
    • 9 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