0% found this document useful (0 votes)
35 views1 page

Welcome To C

C++ is a general-purpose programming language that is used to create many types of computer programs including art applications, music players, and video games. The document explains that C++ programs call headers containing necessary information and the #include directive is used to include the <iostream> header, which defines standard objects for inputting and outputting data. It also describes how the main() function acts as the entry point for all C++ programs and curly brackets indicate the beginning and end of functions.

Uploaded by

sidikmailspronet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Welcome To C

C++ is a general-purpose programming language that is used to create many types of computer programs including art applications, music players, and video games. The document explains that C++ programs call headers containing necessary information and the #include directive is used to include the <iostream> header, which defines standard objects for inputting and outputting data. It also describes how the main() function acts as the entry point for all C++ programs and curly brackets indicate the beginning and end of functions.

Uploaded by

sidikmailspronet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Welcome to C++

C++ is a general-purpose programming language.


C++ is used to create computer programs. Anything from art applications, music players and
even video games!
C++ offers various headers, each of which contains information needed for programs to work properly.
This particular program calls for the header <iostream>.
The number sign (#) at the beginning of a line targets the compiler's pre-processor. In this
case, #include tells the pre-processor to include the <iostream> header.
The <iostream> header defines the standard stream objects that input and output data.

In our code, the line using namespace std; tells the compiler to use the std (standard) namespace.
The std namespace includes features of the C++ Standard Library.

Curly brackets { } indicate the beginning and end of a function, which can also be called the function's
body. The information inside the brackets indicates what the function does when executed.
The entry point of every C++ program is main(), irrespective of what the program does.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy