Sie sind auf Seite 1von 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

Das könnte Ihnen auch gefallen