All About The Coding Language C++
Introduction
Why is Coding Important?
Steve Jobs once said "I think everybody in this country should learn how to program a computer, should learn a computer language, because it teaches you how to think."
There are many reasons that coding is important:
- In the future world, everything relies on coding.
- If you code, your logic thinking will improve and you will be smarter.
- You can creat games, apps and websites by using your creativity on coding.
- You can solve difficult problems by using a simple program that you created.
- Coding can make your job application stand out.
- Coding improves interpersonal skills.
- Coding literacy can help you understand other aspects of tech.
- Anyone can do it!
The C++ Language
Have you ever heard of the coding language C++? C++ is a language that is very popular in the coding world. It is an extension of the C language. C++ gives programmers a high level of control over system resources and memory. Lots of platforms are coded using C++ such as Google Chrome, Skype, and Microsoft Word.
Reasons you should choose C++ to code:
- C++ is SUPER FAST!
- There are many ways to use C++.
- C++ is one of the world's most popular programming languages.
- C++ is an object-oriented programming language which has a clear structure.
- C++ is portable and can be used to develop applications.
- C++ is fun and easy to learn!
Coding C++
Example
A basic code of C++ will look like this:
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello World!";
}
Explanation
There are few important things that needs an explanation:
- #include: Preprocessor directives.
- <iostream>: Header files.
- using namespace std: Namespace std.
- int main(): "int" is main function return type. "main" is progam main function.
- {}: These are openinig and closing braces.
- cout<<: The way to output things.
- "Hello Word": Text.
Conclusion
Author's Words
You need to practice everything in order to master a skill. If you want to master C++, you will have to spend lots and lots of time working on problems that you can solve. There are still a lot more to know about this language, but the beginning of it is already explained. Remember practice makes perfect. Keep practicing and become a C++ master!