0% found this document useful (0 votes)
82 views3 pages

What Is C++

C++ is a popular programming language used for graphical applications and low-level memory manipulation. It was developed in 1979 by Bjarne Stroustrup as an extension of C to add object-oriented capabilities. A basic C++ program structure includes header files, the main function where execution begins, and using statements like cout to print output. While other languages may be better suited for web applications, C++ continues to be widely used for games, scientific computing, systems software, and more due to its high performance. It is expected to remain an important and in-demand language for the future.

Uploaded by

api-352023081
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)
82 views3 pages

What Is C++

C++ is a popular programming language used for graphical applications and low-level memory manipulation. It was developed in 1979 by Bjarne Stroustrup as an extension of C to add object-oriented capabilities. A basic C++ program structure includes header files, the main function where execution begins, and using statements like cout to print output. While other languages may be better suited for web applications, C++ continues to be widely used for games, scientific computing, systems software, and more due to its high performance. It is expected to remain an important and in-demand language for the future.

Uploaded by

api-352023081
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/ 3

C++

- What is C++
C++ Is a high level programming language, C++ give us information about the
object - oriented and generic programming features, also providing the facilities for
low-level memory manipulation. C++ is one of the most popular programming
languages using for graphical applications, . C++ running in Window and
Macintosh environments.

- History of C++
Before it had been upgraded in 1998. C++ was developed by Bjarne Stroustrup at
Bell labs since 1979, as an extension of the C languages, he wanted it to be more
efficient and it must be a flexible languages more than C

C++ program structure:

- Code:
#include <iostream>
using namespace std;

// main() is where program execution begins.

int main() {
cout << "Hello World"; // prints Hello World
return 0;
}
Explain:
- For this program, the header <iostream> is needed.
- The line using namespace std; tells the compiler to use the std
namespace.
- The next line // main() is where program execution begins. is a
single-line comment available in C++.
- The line int main() is the main function where program execution
begins.
- The next line cout << "This is my first C++ program."; causes the
message "This is my first C++ program" to be displayed on the screen.
- The next line return 0; terminates main( )function and causes it to
return the value 0 to the calling process.

What C++ can't not do better than the other


Computer languages:
1. Applications that run inside a browser. These applications can't be
trusted with full access to the system, and it's difficult to secure binary
applications in this way. JavaScript can do better .
2. Web/server back ends. Lots of tiny scripts, usually less than 10k
lines of code per script. Often tied to third party database software.
Ruby/Java/Python/PHP/Perl do better than C++ .
3. A huge business and they need a huge massive, a million line of code,
C++ cannot do that good at Java territory and maybe also .Net too
4. Objective C is used for Apple's ecosystem, especially the iPhone, but
if it's cross-platform, it's usually C++.
5. Same goes for .Net and Windows: Many Windows only apps are
written in C#, but cross-platform apps are typically C++.

What C++ Can do:


- Computer Games
- Analysis of Integrated-circuit simulation results.
- Medical Software
- Anti-Virus Software
- Real-Time Physical Simulations
- High performance image processing/AI software
- High performance aerial and mobile sensor processing
- C++ compilers- MSVC, Clang, ICC
Will C++ be used in future ?
Yes, because C++ is the premiere language used for console game development.
C++ is heavily used by the financial industry and used for numerical/scientific
computing. Its used for writing operating systems, device drivers, embedded
software, and other systems software,it may be more realistic is easier to be your
job in the future, it can help many an unemployed to find a job

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