Learning how to Code/Day 2

in #busy7 years ago (edited)

@tojukaka daily crypto show (1).jpg

This is day two of my noob coder adventure and I am officially kicking off. The first thing to learn in C++ programming is the history and features.

History


The name C++ was first used in 1983. Before then, it was called C with classes by Bjarne Stroustrup. Bjarne Stroustrup created the programming language in 1979, he started it as an extended version of C.


Features/Comparison with C

C++ is an extended version of C, it offers much more than C with classes. It is a middle-level programing language meaning that it can be used to develop high-level applications and low-level libraries. C is a procedural programming while C++ is an object-oriented programming language. C++ is a block-structured programming language. In C you can organize a code by functions but you can’t create a function inside a function. C is, therefore, a structured programing language but C++ is a block-structured programming language because in C++, you can create a function inside a function.


Why Study C++ instead of Java or C#

  • In C programming it becomes difficult to manage the programme when the number of lines in a source code increases or when or the programme becomes complex. This is not the case with C++.

  • In C you can’t create a function inside a function but you can achieve this in C++.

  • C++ is the preferred language among the object-oriented programming languages.

  • C++ is very near to the execution speed of C, yet it allows much more features than C.

technology-1283624_1920.jpg
Pixabay

Where is C++ used?


C++ is used in

  • Operating systems such as windows.

  • Device drivers

  • Web servers

  • Cloud-based applications

  • Search engines

  • C++ is the language of choice for creating other programming languages


Source


Learning How to Code Series
Written by a Noob to Inspire Fellow Noob Coders

Sort:  

Nice, but making c++ your first language might make coding seem hard. That's just speaking from experience but if you have the mental capacity then keep up. Amazing choice btw.

I also noticed you've not made any more posts about your coding journey

yes. thank you very much. I've been very busy. I'll start again today.
what would you recommend as a first language to start with from your experience?

I really appreciate the feedback

Personally I started with JavaScript which introduced me to oop, from there it was smooth.

Thanks @tojukaka for sharing this wonderful piece as I board the ship to learn from u daily as you update us with on your training😁

Hello! I find your post valuable for the wafrica community! Thanks for the great post! @wafrica is now following you! ALWAYs follow @wafrica and use the wafrica tag!

Nice post. Very enlighten and educative.
I usually don'n used to like anything about programming perhaps because I dont have a flair for it but now, I think am beginning to find it interesting.
Thanks for the tutorial.