Learn, practice, create!
On my way to become an embedded application engineer. Discover new systems, learn new technologies and share thoughts and experiences.
Join me for a while!
Posts
Q4.19 - so far, so good...
Hello and welcome, the year is coming to a close and to really make us aware of what we have accomplished so far, let’s take a look back at what we covered in the last quarter.
C++: The Basics - eps1.19_Summary
Hello and welcome. We have reached the end of the series of articles “C++: The Basics”. You can pat yourself on the back with pride. Not many have the stamina and motivation to go this far. This is also somewhat due to the nature of the subject.
Software programming in C++ is a huge subject area with a lot of content, some of it very abstract and complicated. Can be overwhelming at first and admittedly a bit dry at times. But the foundation has been laid.
In conclusion, let’s get all the basics together.
C++: The Basics - eps1.18_Scope
Hello and welcome. Hey, there is something we should talk about. First of all, sit down calmly. It’s like this…
… Now that we can break our programs into smaller units using functions, it’s time we had a serious word with each other about the scope of validity of variables. It is very important to know when a variable exists, by whom it can be seen or used, and where it has no validity.
You will notice this at the latest with your first
out of scope
error.
C++: The Basics - eps1.17_References
Hello and welcome. Well, have you recovered well since last time and reflected everything properly?
Very good, because we’re picking up seamlessly. We had been looking at pointers and mentioned one thing, but hadn’t really put it into context yet: references.
Now we want to be more specific and look at the difference as well as the distinction from Pointers.
C++: The Basics - eps1.16_Pointer
Hello and welcome. As a child I often heard the saying:
“You don’t point a naked finger at clothed people!”.
But in programming, pointing at others is perfectly allowed. Especially in programming languages that are close to hardware. Languages like C++ even offer an extra data type for this: the Pointer or Zeiger in German.
This enables you to write high-level applications, i.e. applications with high abstraction, and still stay close to the machine. Once you have understood Pointer and also References, then you can write programs that use the resources of your system effectively. And that’s part of the challenge of developing embedded systems.
subscribe via RSS