C++ Week #1

in #programming7 years ago

C++ Language

Today i will give brief information about C++ and i will explain the working fields of the C++ developers. Also i will start to teach programming using C++.

What is C++ Language?

C++ is a general-purpose programming language. It has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation.

It was designed with a bias toward system programming and embedded, resource-constrained and large systems, with performance, efficiency and flexibility of use as its design highlights. C++ has also been found useful in many other contexts, with key strengths being software infrastructure and resource-constrained applications,including desktop applications, servers (e.g. e-commerce, web search or SQL servers), and performance-critical applications (e.g. telephone switches or space probes). C++ is a compiled language, with implementations of it available on many platforms. Many vendors provide C++ compilers, including the Free Software Foundation, Microsoft, Intel, and IBM.

For more information about C++ https://en.wikipedia.org/wiki/C%2B%2B

Which Industries Demands C++ Developers?

Nowadays almost every industry and every big tech companies demands c++ developers. But there are some industries that cannot be thought without C++ developers.
  • Game Industries
  • SaaS Industries (Software as a service)
  • Space Industries
  • Web Industries

These are the some industries that seek for C++ developers.
And also there are some other fields as well for C++ developers such as Army because lots of the defense softwares are written using C++.

Keep reading and you will find information that why and how these industries are using C++.

Game Industries


May you are aware or may not but today many of the games and almost every game engine is written using C++.

  • Why?
Because many games today have multiple layers of systems communicating with one another such as physics, renderers, gameplay, artificial intelligence, high level scripting and backend so many of these tasks are critical for the games and they have to be run simultaneously thus the performance is required. That is why in most of the games and game engines C++ is used.

Lets search on the google and see which game engines are using C++.

Unity Game Engine


As you can see the image above, one of the most popular game engine Unity is written in C++ as well. There is another information as well and it says C++(Runtime) and it means that all of the critical tasks as i mentioned above Physics, Renderers are works and handled by C++.

Also there is C# (Unity API) that means, as a game developer when you use this game engine you can write your game using C# language but its an Unity API (Unity Application Programming Interface) and in a compile time it will be converted to the native C++ code by calling this interface.

Unreal Game Engine

Unreal Engine is one of the most powerful game engine as well and it has been developed using C++.

Cry Game Engine


Cry Engine as well using C++.

Godot Game Engine

One of the completely open source and powerful game engine godot is also written using C++. You can find much more information about godot at https://www.godotengine.org

For supporting the godot Patreon Godot Engine

These are the some of the game engines that i wanted to show you.

I hope you had an idea where to use C++ and at least give a chance to learn this language

Tutorial Hour


(Every week i will try to upload new tutorials)

For following tutorials, you have to download and install IDE(Integrated Development Environment) to your machine.

There are plenty of different IDEs and i will give some of them links below.

The Dev C++ is available for PC (Windows Operating System) and can be downloaded at:
http://www.bloodshed.net/devcpp.html
The CodeBlocks is a Linux friendly IDE and is available at:
http://www.codeblocks.org/
XCode is Mac development environment for free and can be downloaded at:
https://developer.apple.com/xcode/

C++ Week #1 - Tutorial #1


#include <iostream>
using namespace std;

int main(){

  cout << "Hello World";
  return 0;
}


#include < iostream>: We are including this header file to our application to be able to getting input from user and to show output to user
cout << : To show output
cin >> : To get input

int main() : Every application has a main function to execute rest codes, all of the other codes are written or called inside main() { ... }

---------------------
If you liked my post then let me know it guys. I will try to upload much more content as well as soon as possible.

Thats all for today, hope you enjoyed :)

Sort:  

Congratulations @oozoktas! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

3 years on Steem - The distribution of commemorative badges has begun!
Happy Birthday! The Steem blockchain is running for 3 years.
Vote for @Steemitboard as a witness to get one more award and increased upvotes!